fromNative static method

MasstransitConstructionSegment fromNative(
  1. MasstransitConstructionSegmentNative native
)

Implementation

static MasstransitConstructionSegment fromNative(
    MasstransitConstructionSegmentNative native) {
  return MasstransitConstructionSegment(
      mapkit_geometry_geometry.SubpolylineImpl.fromNative(native.subpolyline),
      MasstransitConstructionMaskImpl.fromNative(native.constructionMask));
}