fromNative static method

Line fromNative(
  1. LineNative native, {
  2. bool takeOwnership = true,
})

Implementation

static Line fromNative(LineNative native, {bool takeOwnership = true})  {
    return Line(
      ListSegmentImpl.fromNativePtr(native.segments),
    );
}