BaseChannel constructor Null safety

BaseChannel(
  1. {required String channelUrl,
  2. User? creator,
  3. int? createdAt,
  4. String? name,
  5. String? coverUrl,
  6. String? data,
  7. String? customType,
  8. bool isFrozen = false,
  9. bool isEphemeral = false,
  10. bool fromCache = false,
  11. bool dirty = false}
)

WARNING: Do not use default constructor to initialize manually

Implementation

BaseChannel({
  required this.channelUrl,
  this.creator,
  this.createdAt,
  this.name,
  this.coverUrl,
  this.data,
  this.customType,
  this.isFrozen = false,
  this.isEphemeral = false,
  this.fromCache = false,
  this.dirty = false,
});