fromNative static method

PolygonManeuverStyle fromNative(
  1. PolygonManeuverStyleNative native
)

Implementation

static PolygonManeuverStyle fromNative(PolygonManeuverStyleNative native) {
  return PolygonManeuverStyle(
      trajectoryWidth: native.trajectoryWidth,
      to_platform.toPlatformColor(native.trajectoryColor),
      polygonAlpha: native.polygonAlpha,
      to_platform.toPlatformColor(native.polygonColor),
      PolygonManeuverRenderModeImpl.fromInt(native.renderMode),
      fadeDistance: native.fadeDistance,
      fadeAlpha: native.fadeAlpha,
      enabled: native.enabled);
}