copyWith method

  1. @override
UpdateNewMessage copyWith({
  1. Message? message,
  2. dynamic extra,
  3. int? clientId,
})
override

Implementation

@override
UpdateNewMessage copyWith({
  Message? message,
  dynamic extra,
  int? clientId,
}) =>
    UpdateNewMessage(
      message: message ?? this.message,
      extra: extra ?? this.extra,
      clientId: clientId ?? this.clientId,
    );