BaseChannel constructor

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

Implementation

BaseChannel({
  required this.channelUrl,
  this.name = '',
  this.createdAt,
  coverUrl = '',
  data = '',
  customType = '',
  isFrozen = false,
  isEphemeral = false,
  this.fromCache = false,
  this.dirty = false,
})  : _coverUrl = coverUrl,
      _data = data,
      _customType = customType,
      _isFrozen = isFrozen,
      _isEphemeral = isEphemeral;