copyWith method

ScLoanSuccess copyWith({
  1. bool? isSuccess,
  2. String? data,
})

Implementation

ScLoanSuccess copyWith({
  bool? isSuccess,
  String? data,
}) {
  return ScLoanSuccess(
    data: data ?? this.data,
  );
}