CollisionSpecification constructor

CollisionSpecification({
  1. Iterable<CollisionSpecification_AllowedFrameCollisions>? allows,
})

Implementation

factory CollisionSpecification({
  $core.Iterable<CollisionSpecification_AllowedFrameCollisions>? allows,
}) {
  final $result = create();
  if (allows != null) {
    $result.allows.addAll(allows);
  }
  return $result;
}