$PoiTargetingOptionDetails.fromJson constructor

$PoiTargetingOptionDetails.fromJson(
  1. Map json_
)

Implementation

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