PersonalProtection.fromJson constructor
PersonalProtection.fromJson(
- Map json_
Implementation
PersonalProtection.fromJson(core.Map json_)
: this(
commonAreasOfferSanitizingItems:
json_.containsKey('commonAreasOfferSanitizingItems')
? json_['commonAreasOfferSanitizingItems'] as core.bool
: null,
commonAreasOfferSanitizingItemsException: json_
.containsKey('commonAreasOfferSanitizingItemsException')
? json_['commonAreasOfferSanitizingItemsException'] as core.String
: null,
faceMaskRequired: json_.containsKey('faceMaskRequired')
? json_['faceMaskRequired'] as core.bool
: null,
faceMaskRequiredException:
json_.containsKey('faceMaskRequiredException')
? json_['faceMaskRequiredException'] as core.String
: null,
guestRoomHygieneKitsAvailable:
json_.containsKey('guestRoomHygieneKitsAvailable')
? json_['guestRoomHygieneKitsAvailable'] as core.bool
: null,
guestRoomHygieneKitsAvailableException: json_
.containsKey('guestRoomHygieneKitsAvailableException')
? json_['guestRoomHygieneKitsAvailableException'] as core.String
: null,
protectiveEquipmentAvailable:
json_.containsKey('protectiveEquipmentAvailable')
? json_['protectiveEquipmentAvailable'] as core.bool
: null,
protectiveEquipmentAvailableException: json_
.containsKey('protectiveEquipmentAvailableException')
? json_['protectiveEquipmentAvailableException'] as core.String
: null,
);