fromNative static method

Manoeuvre fromNative(
  1. ManoeuvreNative native
)

Implementation

static Manoeuvre fromNative(ManoeuvreNative native) {
  return Manoeuvre(
      directions_driving_action.DrivingActionImpl.fromInt(native.action),
      mapkit_localized_value.LocalizedValueImpl.fromNative(native.distance),
      nextRoadName:
          to_platform.toPlatformFromPointerString(native.nextRoadName));
}