RegistrationCa.fromJson constructor
RegistrationCa.fromJson(
- Object? json
Implementation
factory RegistrationCa.fromJson(Object? json) {
final map = (json as Map).cast<String, Object?>();
return RegistrationCa(
provinceStandard: map['province_standard'] == null
? null
: TaxProductRegistrationsResourceCountryOptionsCaProvinceStandard
.fromJson(map['province_standard']),
type: TaxProductRegistrationsResourceCountryOptionsCanadaType.fromJson(
map['type']),
);
}