TreasuryFinancialAccountsResourcePlatformRestrictions.fromJson constructor

TreasuryFinancialAccountsResourcePlatformRestrictions.fromJson(
  1. Object? json
)

Implementation

factory TreasuryFinancialAccountsResourcePlatformRestrictions.fromJson(
    Object? json) {
  final map = (json as Map).cast<String, Object?>();
  return TreasuryFinancialAccountsResourcePlatformRestrictions(
    inboundFlows: map['inbound_flows'] == null
        ? null
        : TreasuryFinancialAccountPlatformRestrictionsInboundFlows.fromJson(
            map['inbound_flows']),
    outboundFlows: map['outbound_flows'] == null
        ? null
        : TreasuryFinancialAccountPlatformRestrictionsInboundFlows.fromJson(
            map['outbound_flows']),
  );
}