copyWith method
Implementation
SampodStatusError<T> copyWith({String? message, int? statusCode}) {
return SampodStatusError<T>(
message ?? this.message,
statusCode ?? this.statusCode,
formError: this.formError,
);
}
SampodStatusError<T> copyWith({String? message, int? statusCode}) {
return SampodStatusError<T>(
message ?? this.message,
statusCode ?? this.statusCode,
formError: this.formError,
);
}