MinimizedContact.fromJson constructor

MinimizedContact.fromJson(
  1. Map json_
)

Implementation

MinimizedContact.fromJson(core.Map json_)
    : this(
        contactlessCheckinCheckout:
            json_.containsKey('contactlessCheckinCheckout')
                ? json_['contactlessCheckinCheckout'] as core.bool
                : null,
        contactlessCheckinCheckoutException:
            json_.containsKey('contactlessCheckinCheckoutException')
                ? json_['contactlessCheckinCheckoutException'] as core.String
                : null,
        digitalGuestRoomKeys: json_.containsKey('digitalGuestRoomKeys')
            ? json_['digitalGuestRoomKeys'] as core.bool
            : null,
        digitalGuestRoomKeysException:
            json_.containsKey('digitalGuestRoomKeysException')
                ? json_['digitalGuestRoomKeysException'] as core.String
                : null,
        housekeepingScheduledRequestOnly:
            json_.containsKey('housekeepingScheduledRequestOnly')
                ? json_['housekeepingScheduledRequestOnly'] as core.bool
                : null,
        housekeepingScheduledRequestOnlyException:
            json_.containsKey('housekeepingScheduledRequestOnlyException')
                ? json_['housekeepingScheduledRequestOnlyException']
                    as core.String
                : null,
        noHighTouchItemsCommonAreas:
            json_.containsKey('noHighTouchItemsCommonAreas')
                ? json_['noHighTouchItemsCommonAreas'] as core.bool
                : null,
        noHighTouchItemsCommonAreasException:
            json_.containsKey('noHighTouchItemsCommonAreasException')
                ? json_['noHighTouchItemsCommonAreasException'] as core.String
                : null,
        noHighTouchItemsGuestRooms:
            json_.containsKey('noHighTouchItemsGuestRooms')
                ? json_['noHighTouchItemsGuestRooms'] as core.bool
                : null,
        noHighTouchItemsGuestRoomsException:
            json_.containsKey('noHighTouchItemsGuestRoomsException')
                ? json_['noHighTouchItemsGuestRoomsException'] as core.String
                : null,
        plasticKeycardsDisinfected:
            json_.containsKey('plasticKeycardsDisinfected')
                ? json_['plasticKeycardsDisinfected'] as core.bool
                : null,
        plasticKeycardsDisinfectedException:
            json_.containsKey('plasticKeycardsDisinfectedException')
                ? json_['plasticKeycardsDisinfectedException'] as core.String
                : null,
        roomBookingsBuffer: json_.containsKey('roomBookingsBuffer')
            ? json_['roomBookingsBuffer'] as core.bool
            : null,
        roomBookingsBufferException:
            json_.containsKey('roomBookingsBufferException')
                ? json_['roomBookingsBufferException'] as core.String
                : null,
      );