copyWith method
Implementation
CleanFailure copyWith({String? tag, String? error, int? statusCode}) {
return CleanFailure(
error: error ?? this.error, statusCode: statusCode ?? this.statusCode);
}
CleanFailure copyWith({String? tag, String? error, int? statusCode}) {
return CleanFailure(
error: error ?? this.error, statusCode: statusCode ?? this.statusCode);
}