fromNative static method

TransitOptions fromNative(
  1. TransitOptionsNative native
)

Implementation

static TransitOptions fromNative(TransitOptionsNative native) {
  return TransitOptions(
    avoid: FilterVehicleTypesImpl.fromInt(native.avoid),
    transport_masstransit_options.TimeOptionsImpl.fromNative(
        native.timeOptions),
  );
}