fromNative static method

JamSegment fromNative(
  1. JamSegmentNative native
)

Implementation

static JamSegment fromNative(JamSegmentNative native) {
  return JamSegment(JamTypeImpl.fromInt(native.jamType), speed: native.speed);
}