FinancialAccountPlatformRestrictions.fromJson constructor

FinancialAccountPlatformRestrictions.fromJson(
  1. Object? json
)

Implementation

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