BuildingCoordinates.fromJson constructor

BuildingCoordinates.fromJson(
  1. Map json_
)

Implementation

BuildingCoordinates.fromJson(core.Map json_)
    : this(
        latitude: json_.containsKey('latitude')
            ? (json_['latitude'] as core.num).toDouble()
            : null,
        longitude: json_.containsKey('longitude')
            ? (json_['longitude'] as core.num).toDouble()
            : null,
      );