OutboundPaymentDestinationPaymentMethodOptions.fromJson constructor

OutboundPaymentDestinationPaymentMethodOptions.fromJson(
  1. Object? json
)

Implementation

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