copyWith method

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

Implementation

@override
void copyWith(dynamic other) {
  super.copyWith(other);
  if (other is OpenChannel) {
    participantCount = other.participantCount;
    operators = List<User>.from(other.operators);
  }
}