AllocationPolicy_PlacementPolicy constructor

AllocationPolicy_PlacementPolicy({
  1. String? collocation,
  2. Int64? maxDistance,
})

Implementation

factory AllocationPolicy_PlacementPolicy({
  $core.String? collocation,
  $fixnum.Int64? maxDistance,
}) {
  final $result = create();
  if (collocation != null) {
    $result.collocation = collocation;
  }
  if (maxDistance != null) {
    $result.maxDistance = maxDistance;
  }
  return $result;
}