TreasuryFinancialAccountsResourceStatusDetails.fromJson constructor

TreasuryFinancialAccountsResourceStatusDetails.fromJson(
  1. Object? json
)

Implementation

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