fromNative static method

LocationPolyline fromNative(
  1. LocationPolylineNative native, {
  2. bool takeOwnership = true,
})

Implementation

static LocationPolyline fromNative(LocationPolylineNative native, {bool takeOwnership = true})  {
    return LocationPolyline(
      PolylineImpl.fromNative(native.polyline, takeOwnership: takeOwnership),
      native.locationId,
      native.sublocationId,
    );
}