$PoiAssignedTargetingOptionDetails.fromJson constructor

$PoiAssignedTargetingOptionDetails.fromJson(
  1. Map json_
)

Implementation

$PoiAssignedTargetingOptionDetails.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,
        proximityRadiusAmount: json_.containsKey('proximityRadiusAmount')
            ? (json_['proximityRadiusAmount'] as core.num).toDouble()
            : null,
        proximityRadiusUnit: json_.containsKey('proximityRadiusUnit')
            ? json_['proximityRadiusUnit'] as core.String
            : null,
        targetingOptionId: json_.containsKey('targetingOptionId')
            ? json_['targetingOptionId'] as core.String
            : null,
      );