ReceivedCreditInitiatingPaymentMethodDetails.fromJson constructor
ReceivedCreditInitiatingPaymentMethodDetails.fromJson(
- Object? json
Implementation
factory ReceivedCreditInitiatingPaymentMethodDetails.fromJson(Object? json) {
final map = (json as Map).cast<String, Object?>();
return ReceivedCreditInitiatingPaymentMethodDetails(
usBankAccount: map['us_bank_account'] == null
? null
: ReceivedCreditUsBankAccount.fromJson(map['us_bank_account']));
}