OpenChannel constructor

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

WARNING: Do not use default constructor to initialize manually

Implementation

OpenChannel({
  required this.participantCount,
  required this.operators,
  required String channelUrl,
  String? name,
  String? coverUrl,
  User? creator,
  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,
      );