PlacementPolicy.fromJson constructor

PlacementPolicy.fromJson(
  1. Map json_
)

Implementation

PlacementPolicy.fromJson(core.Map json_)
    : this(
        collocation: json_.containsKey('collocation')
            ? json_['collocation'] as core.String
            : null,
        maxDistance: json_.containsKey('maxDistance')
            ? json_['maxDistance'] as core.String
            : null,
      );