copyWith method
Implementation
ChatEvents copyWith({
List<ChatEvent>? events,
dynamic extra,
int? clientId,
}) => ChatEvents(
events: events ?? this.events,
extra: extra ?? this.extra,
clientId: clientId ?? this.clientId,
);
ChatEvents copyWith({
List<ChatEvent>? events,
dynamic extra,
int? clientId,
}) => ChatEvents(
events: events ?? this.events,
extra: extra ?? this.extra,
clientId: clientId ?? this.clientId,
);