fromNative static method

HighlightedRoadEvent fromNative(
  1. HighlightedRoadEventNative native
)

Implementation

static HighlightedRoadEvent fromNative(HighlightedRoadEventNative native) {
  return HighlightedRoadEvent(
    eventId: to_platform.toPlatformString(native.eventId),
    mapkit_road_events_layer_style_provider.RoadEventsLayerHighlightModeImpl
        .fromInt(native.mode),
  );
}