fromNative static method

DrivingRoadVehicleRestriction fromNative(
  1. DrivingRoadVehicleRestrictionNative native
)

Implementation

static DrivingRoadVehicleRestriction fromNative(
    DrivingRoadVehicleRestrictionNative native) {
  return DrivingRoadVehicleRestriction(
      DrivingVehicleRestrictionImpl.fromNative(native.vehicleRestriction),
      mapkit_geometry_geometry.SubpolylineImpl.fromNative(native.position));
}