copyWith method
Implementation
ErrorMessage copyWith({String? message}) {
return ErrorMessage(
message: message ?? this.message,
);
}
ErrorMessage copyWith({String? message}) {
return ErrorMessage(
message: message ?? this.message,
);
}