SubscriptionTaxAndComplianceSettings.fromJson constructor

SubscriptionTaxAndComplianceSettings.fromJson(
  1. Map json_
)

Implementation

SubscriptionTaxAndComplianceSettings.fromJson(core.Map json_)
    : this(
        eeaWithdrawalRightType: json_.containsKey('eeaWithdrawalRightType')
            ? json_['eeaWithdrawalRightType'] as core.String
            : null,
        isTokenizedDigitalAsset: json_.containsKey('isTokenizedDigitalAsset')
            ? json_['isTokenizedDigitalAsset'] as core.bool
            : null,
        taxRateInfoByRegionCode: json_.containsKey('taxRateInfoByRegionCode')
            ? (json_['taxRateInfoByRegionCode']
                    as core.Map<core.String, core.dynamic>)
                .map(
                (key, value) => core.MapEntry(
                  key,
                  RegionalTaxRateInfo.fromJson(
                      value as core.Map<core.String, core.dynamic>),
                ),
              )
            : null,
      );