fromNative static method

RoadEventsLayerHighlightCircleStyle fromNative(
  1. RoadEventsLayerHighlightCircleStyleNative native
)

Implementation

static RoadEventsLayerHighlightCircleStyle fromNative(
    RoadEventsLayerHighlightCircleStyleNative native) {
  return RoadEventsLayerHighlightCircleStyle(
    to_platform.toPlatformColor(native.strokeColor),
    strokeWidth: native.strokeWidth,
    to_platform.toPlatformColor(native.fillColor),
    maximumRadius: native.maximumRadius,
    to_platform.toPlatformTimeInterval(native.animationDuration),
  );
}