copyWith method
Implementation
@override
MessageSendingStateFailed copyWith({
int? errorCode,
String? errorMessage,
bool? canRetry,
bool? needAnotherSender,
double? retryAfter,
}) => MessageSendingStateFailed(
errorCode: errorCode ?? this.errorCode,
errorMessage: errorMessage ?? this.errorMessage,
canRetry: canRetry ?? this.canRetry,
needAnotherSender: needAnotherSender ?? this.needAnotherSender,
retryAfter: retryAfter ?? this.retryAfter,
);