fromNative static method

SpeedLimits fromNative(
  1. SpeedLimitsNative native
)

Implementation

static SpeedLimits fromNative(SpeedLimitsNative native) {
  return SpeedLimits(
      mapkit_localized_value.LocalizedValueImpl.fromNative(native.urban),
      mapkit_localized_value.LocalizedValueImpl.fromNative(native.rural),
      mapkit_localized_value.LocalizedValueImpl.fromNative(
          native.expressway));
}