fromNative static method

Segment fromNative(
  1. SegmentNative native
)

Implementation

static Segment fromNative(SegmentNative native) {
  return Segment(
      mapkit_geometry_point.PointImpl.fromNative(native.startPoint),
      mapkit_geometry_point.PointImpl.fromNative(native.endPoint));
}