copyWith method

TaPayBankListModel copyWith({
  1. String? responseCode,
  2. String? message,
  3. List<BankInfo>? info,
})

Implementation

TaPayBankListModel copyWith({
  String? responseCode,
  String? message,
  List<BankInfo>? info,
}) =>
    TaPayBankListModel(
      responseCode: responseCode ?? _responseCode,
      message: message ?? _message,
      info: info ?? _info,
    );