fromNative static method

MasstransitWeight fromNative(
  1. MasstransitWeightNative native
)

Implementation

static MasstransitWeight fromNative(MasstransitWeightNative native) {
  return MasstransitWeight(
      mapkit_localized_value.LocalizedValueImpl.fromNative(native.time),
      mapkit_localized_value.LocalizedValueImpl.fromNative(
          native.walkingDistance),
      transfersCount: native.transfersCount);
}