Business.fromJson constructor

Business.fromJson(
  1. Map json_
)

Implementation

Business.fromJson(core.Map json_)
    : this(
        businessCenter: json_.containsKey('businessCenter')
            ? json_['businessCenter'] as core.bool
            : null,
        businessCenterException: json_.containsKey('businessCenterException')
            ? json_['businessCenterException'] as core.String
            : null,
        meetingRooms: json_.containsKey('meetingRooms')
            ? json_['meetingRooms'] as core.bool
            : null,
        meetingRoomsCount: json_.containsKey('meetingRoomsCount')
            ? json_['meetingRoomsCount'] as core.int
            : null,
        meetingRoomsCountException:
            json_.containsKey('meetingRoomsCountException')
                ? json_['meetingRoomsCountException'] as core.String
                : null,
        meetingRoomsException: json_.containsKey('meetingRoomsException')
            ? json_['meetingRoomsException'] as core.String
            : null,
      );