$BusinessChainAssignedTargetingOptionDetails.fromJson constructor

$BusinessChainAssignedTargetingOptionDetails.fromJson(
  1. Map json_
)

Implementation

$BusinessChainAssignedTargetingOptionDetails.fromJson(core.Map json_)
    : this(
        displayName: json_.containsKey('displayName')
            ? json_['displayName'] as core.String
            : 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,
      );