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