Accessibility.fromJson constructor

Accessibility.fromJson(
  1. Map json_
)

Implementation

Accessibility.fromJson(core.Map json_)
    : this(
        mobilityAccessible: json_.containsKey('mobilityAccessible')
            ? json_['mobilityAccessible'] as core.bool
            : null,
        mobilityAccessibleElevator:
            json_.containsKey('mobilityAccessibleElevator')
                ? json_['mobilityAccessibleElevator'] as core.bool
                : null,
        mobilityAccessibleElevatorException:
            json_.containsKey('mobilityAccessibleElevatorException')
                ? json_['mobilityAccessibleElevatorException'] as core.String
                : null,
        mobilityAccessibleException:
            json_.containsKey('mobilityAccessibleException')
                ? json_['mobilityAccessibleException'] as core.String
                : null,
        mobilityAccessibleParking:
            json_.containsKey('mobilityAccessibleParking')
                ? json_['mobilityAccessibleParking'] as core.bool
                : null,
        mobilityAccessibleParkingException:
            json_.containsKey('mobilityAccessibleParkingException')
                ? json_['mobilityAccessibleParkingException'] as core.String
                : null,
        mobilityAccessiblePool: json_.containsKey('mobilityAccessiblePool')
            ? json_['mobilityAccessiblePool'] as core.bool
            : null,
        mobilityAccessiblePoolException:
            json_.containsKey('mobilityAccessiblePoolException')
                ? json_['mobilityAccessiblePoolException'] as core.String
                : null,
      );