GuestUnitType.fromJson constructor
GuestUnitType.fromJson(
- Map json_
Implementation
GuestUnitType.fromJson(core.Map json_)
: this(
codes: json_.containsKey('codes')
? (json_['codes'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
features: json_.containsKey('features')
? GuestUnitFeatures.fromJson(
json_['features'] as core.Map<core.String, core.dynamic>)
: null,
label:
json_.containsKey('label') ? json_['label'] as core.String : null,
);