fromNative static method

DrivingWeight fromNative(
  1. DrivingWeightNative native
)

Implementation

static DrivingWeight fromNative(DrivingWeightNative native) {
  return DrivingWeight(
      mapkit_localized_value.LocalizedValueImpl.fromNative(native.time),
      mapkit_localized_value.LocalizedValueImpl.fromNative(
          native.timeWithTraffic),
      mapkit_localized_value.LocalizedValueImpl.fromNative(native.distance));
}