copyWith method

  1. @override
UpdateMessageSendFailed copyWith({
  1. Message? message,
  2. int? oldMessageId,
  3. int? errorCode,
  4. String? errorMessage,
  5. dynamic extra,
  6. int? clientId,
})
override

Implementation

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