OpenChannel constructor

OpenChannel(
  1. {required int participantCount,
  2. required List<User> operators,
  3. required String channelUrl,
  4. String name = '',
  5. String coverUrl = '',
  6. int? createdAt,
  7. String data = '',
  8. String customType = '',
  9. bool isFrozen = false,
  10. bool isEphemeral = false}
)

Implementation

OpenChannel({
  required this.participantCount,
  required this.operators,
  required String channelUrl,
  String name = '',
  String coverUrl = '',
  int? createdAt,
  String data = '',
  String customType = '',
  bool isFrozen = false,
  bool isEphemeral = false,
}) : super(
        channelUrl: channelUrl,
        name: name,
        coverUrl: coverUrl,
        createdAt: createdAt,
        data: data,
        customType: customType,
        isFrozen: isFrozen,
        isEphemeral: isEphemeral,
        fromCache: false,
        dirty: false,
      );