copyWith method

  1. @override
void copyWith(
  1. dynamic other
)

Implementation

@override
void copyWith(dynamic other) {
  if (other is! BaseChannel) return;

  channelUrl = other.channelUrl;
  name = other.name;
  createdAt = other.createdAt;
  _coverUrl = other.coverUrl;
  _data = other.data;
  _customType = other.customType;
  _isFrozen = other.isFrozen;
  _isEphemeral = other.isEphemeral;
}