RegistrationCountryOptions.fromJson constructor
RegistrationCountryOptions.fromJson(
- Object? json
Implementation
factory RegistrationCountryOptions.fromJson(Object? json) {
final map = (json as Map).cast<String, Object?>();
return RegistrationCountryOptions(
ae: map['ae'] == null
? null
: TaxProductRegistrationsResourceCountryOptionsDefault.fromJson(
map['ae']),
at: map['at'] == null ? null : RegistrationAt.fromJson(map['at']),
au: map['au'] == null
? null
: TaxProductRegistrationsResourceCountryOptionsDefault.fromJson(
map['au']),
be: map['be'] == null ? null : RegistrationAt.fromJson(map['be']),
bg: map['bg'] == null ? null : RegistrationAt.fromJson(map['bg']),
ca: map['ca'] == null ? null : RegistrationCa.fromJson(map['ca']),
ch: map['ch'] == null
? null
: TaxProductRegistrationsResourceCountryOptionsDefault.fromJson(
map['ch']),
cl: map['cl'] == null
? null
: TaxProductRegistrationsResourceCountryOptionsSimplified.fromJson(
map['cl']),
co: map['co'] == null
? null
: TaxProductRegistrationsResourceCountryOptionsSimplified.fromJson(
map['co']),
cy: map['cy'] == null ? null : RegistrationAt.fromJson(map['cy']),
cz: map['cz'] == null ? null : RegistrationAt.fromJson(map['cz']),
de: map['de'] == null ? null : RegistrationAt.fromJson(map['de']),
dk: map['dk'] == null ? null : RegistrationAt.fromJson(map['dk']),
ee: map['ee'] == null ? null : RegistrationAt.fromJson(map['ee']),
es: map['es'] == null ? null : RegistrationAt.fromJson(map['es']),
fi: map['fi'] == null ? null : RegistrationAt.fromJson(map['fi']),
fr: map['fr'] == null ? null : RegistrationAt.fromJson(map['fr']),
gb: map['gb'] == null
? null
: TaxProductRegistrationsResourceCountryOptionsDefault.fromJson(
map['gb']),
gr: map['gr'] == null ? null : RegistrationAt.fromJson(map['gr']),
hr: map['hr'] == null ? null : RegistrationAt.fromJson(map['hr']),
hu: map['hu'] == null ? null : RegistrationAt.fromJson(map['hu']),
id: map['id'] == null
? null
: TaxProductRegistrationsResourceCountryOptionsSimplified.fromJson(
map['id']),
ie: map['ie'] == null ? null : RegistrationAt.fromJson(map['ie']),
is_: map['is'] == null
? null
: TaxProductRegistrationsResourceCountryOptionsDefault.fromJson(
map['is']),
it: map['it'] == null ? null : RegistrationAt.fromJson(map['it']),
jp: map['jp'] == null
? null
: TaxProductRegistrationsResourceCountryOptionsDefault.fromJson(
map['jp']),
kr: map['kr'] == null
? null
: TaxProductRegistrationsResourceCountryOptionsSimplified.fromJson(
map['kr']),
lt: map['lt'] == null ? null : RegistrationAt.fromJson(map['lt']),
lu: map['lu'] == null ? null : RegistrationAt.fromJson(map['lu']),
lv: map['lv'] == null ? null : RegistrationAt.fromJson(map['lv']),
mt: map['mt'] == null ? null : RegistrationAt.fromJson(map['mt']),
mx: map['mx'] == null
? null
: TaxProductRegistrationsResourceCountryOptionsSimplified.fromJson(
map['mx']),
my: map['my'] == null
? null
: TaxProductRegistrationsResourceCountryOptionsSimplified.fromJson(
map['my']),
nl: map['nl'] == null ? null : RegistrationAt.fromJson(map['nl']),
no: map['no'] == null
? null
: TaxProductRegistrationsResourceCountryOptionsDefault.fromJson(
map['no']),
nz: map['nz'] == null
? null
: TaxProductRegistrationsResourceCountryOptionsDefault.fromJson(
map['nz']),
pl: map['pl'] == null ? null : RegistrationAt.fromJson(map['pl']),
pt: map['pt'] == null ? null : RegistrationAt.fromJson(map['pt']),
ro: map['ro'] == null ? null : RegistrationAt.fromJson(map['ro']),
sa: map['sa'] == null
? null
: TaxProductRegistrationsResourceCountryOptionsSimplified.fromJson(
map['sa']),
se: map['se'] == null ? null : RegistrationAt.fromJson(map['se']),
sg: map['sg'] == null
? null
: TaxProductRegistrationsResourceCountryOptionsDefault.fromJson(
map['sg']),
si: map['si'] == null ? null : RegistrationAt.fromJson(map['si']),
sk: map['sk'] == null ? null : RegistrationAt.fromJson(map['sk']),
th: map['th'] == null
? null
: TaxProductRegistrationsResourceCountryOptionsSimplified.fromJson(
map['th']),
tr: map['tr'] == null
? null
: TaxProductRegistrationsResourceCountryOptionsSimplified.fromJson(
map['tr']),
us: map['us'] == null ? null : RegistrationUs.fromJson(map['us']),
vn: map['vn'] == null
? null
: TaxProductRegistrationsResourceCountryOptionsSimplified.fromJson(
map['vn']),
za: map['za'] == null
? null
: TaxProductRegistrationsResourceCountryOptionsDefault.fromJson(
map['za']),
);
}