fromNative static method

SpeedControlHighlightStyle fromNative(
  1. SpeedControlHighlightStyleNative native
)

Implementation

static SpeedControlHighlightStyle fromNative(
    SpeedControlHighlightStyleNative native) {
  return SpeedControlHighlightStyle(
    to_platform.toPlatformColor(native.strokeColor),
    strokeWidth: native.strokeWidth,
    to_platform.toPlatformColor(native.fillColor),
    maximumRadius: native.maximumRadius,
    to_platform.toPlatformTimeInterval(native.animationDuration),
    to_platform.toPlatformPoint(native.pulsationCenter),
  );
}