copyWith method
Implementation
Failure copyWith({
String? code,
String? message,
Exception? innerException,
}) {
return Failure(
code ?? this.code,
message: message ?? this.message,
innerException: innerException ?? this.innerException,
);
}