fromNative static method

BicycleFlags fromNative(
  1. BicycleFlagsNative native
)

Implementation

static BicycleFlags fromNative(BicycleFlagsNative native) {
  return BicycleFlags(
      requiresAccessPass: native.requiresAccessPass,
      hasAutoRoad: native.hasAutoRoad);
}