fromNative static method

SpeedLimitsRules fromNative(
  1. SpeedLimitsRulesNative native
)

Implementation

static SpeedLimitsRules fromNative(SpeedLimitsRulesNative native) {
  return SpeedLimitsRules(
      SpeedLimitsRulesTypeImpl.fromInt(native.urban),
      SpeedLimitsRulesTypeImpl.fromInt(native.rural),
      SpeedLimitsRulesTypeImpl.fromInt(native.expressway));
}