toNative static method

DrivingFlagsNative toNative(
  1. DrivingFlags obj
)

Implementation

static DrivingFlagsNative toNative(DrivingFlags obj) {
  return _DrivingFlagsNativeInit(
      obj.blocked,
      obj.hasFerries,
      obj.hasTolls,
      obj.requiresAccessPass,
      obj.forParking,
      obj.futureBlocked,
      obj.deadJam,
      obj.builtOffline,
      obj.predicted,
      obj.hasRuggedRoads,
      obj.hasFordCrossing,
      obj.hasVehicleRestrictions,
      obj.hasUnpavedRoads,
      obj.hasInPoorConditionRoads,
      obj.hasRailwayCrossing,
      obj.hasCheckpoints,
      obj.scheduledDeparture,
      obj.hasNonTransactionalTolls,
      obj.hasTunnels,
      obj.hasHighways);
}