copyWith method
Implementation
ScLoanError copyWith({
bool? isSuccess,
int? code,
String? message,
String? data,
}) {
return ScLoanError(
code: code ?? this.code,
message: message ?? this.message,
data: data ?? this.data,
);
}