fromNative static method

DrivingTollPost fromNative(
  1. DrivingTollPostNative native
)

Implementation

static DrivingTollPost fromNative(DrivingTollPostNative native) {
  return DrivingTollPost(
      mapkit_geometry_geometry.PolylinePositionImpl.fromNative(
          native.position),
      id: to_platform.toPlatformFromPointerInt64(native.id),
      time_with_traffic:
          to_platform.toPlatformFromPointerDouble(native.time_with_traffic),
      nonTransactional:
          to_platform.toPlatformFromPointerBool(native.nonTransactional));
}