PlacementAssignment.fromJson constructor

PlacementAssignment.fromJson(
  1. Map json_
)

Implementation

PlacementAssignment.fromJson(core.Map json_)
    : this(
        active:
            json_.containsKey('active') ? json_['active'] as core.bool : null,
        placementId: json_.containsKey('placementId')
            ? json_['placementId'] as core.String
            : null,
        placementIdDimensionValue:
            json_.containsKey('placementIdDimensionValue')
                ? DimensionValue.fromJson(json_['placementIdDimensionValue']
                    as core.Map<core.String, core.dynamic>)
                : null,
        sslRequired: json_.containsKey('sslRequired')
            ? json_['sslRequired'] as core.bool
            : null,
      );