copyWith method

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

Implementation

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