copyWith method

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

Implementation

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

  channelUrl = others.channelUrl;
  name = others.name;
  coverUrl = others.coverUrl;
  creator = others.creator;
  createdAt = others.createdAt;
  data = others.data;
  customType = others.customType;
  isFrozen = others.isFrozen;
  isEphemeral = others.isEphemeral;
  fromCache = others.fromCache;
  dirty = others.dirty;
}