RegistrationUs.fromJson constructor
RegistrationUs.fromJson(
- Object? json
Implementation
factory RegistrationUs.fromJson(Object? json) {
final map = (json as Map).cast<String, Object?>();
return RegistrationUs(
localAmusementTax: map['local_amusement_tax'] == null
? null
: TaxProductRegistrationsResourceCountryOptionsUsLocalLeaseTax
.fromJson(map['local_amusement_tax']),
localLeaseTax: map['local_lease_tax'] == null
? null
: TaxProductRegistrationsResourceCountryOptionsUsLocalLeaseTax
.fromJson(map['local_lease_tax']),
state: (map['state'] as String),
type: TaxProductRegistrationsResourceCountryOptionsUnitedStatesType
.fromJson(map['type']),
);
}