copyWith method

  1. @override
UpdateNewChat copyWith({
  1. Chat? chat,
  2. dynamic extra,
  3. int? clientId,
})
override

Implementation

@override
UpdateNewChat copyWith({
  Chat? chat,
  dynamic extra,
  int? clientId,
}) => UpdateNewChat(
  chat: chat ?? this.chat,
  extra: extra ?? this.extra,
  clientId: clientId ?? this.clientId,
);