PaymentMethodUsBankAccountStatusDetails.fromJson constructor

PaymentMethodUsBankAccountStatusDetails.fromJson(
  1. Object? json
)

Implementation

factory PaymentMethodUsBankAccountStatusDetails.fromJson(Object? json) {
  final map = (json as Map).cast<String, Object?>();
  return PaymentMethodUsBankAccountStatusDetails(
      blocked: map['blocked'] == null
          ? null
          : PaymentMethodUsBankAccountBlocked.fromJson(map['blocked']));
}