fromNative static method

LocationPolygon fromNative(
  1. LocationPolygonNative native, {
  2. bool takeOwnership = true,
})

Implementation

static LocationPolygon fromNative(LocationPolygonNative native, {bool takeOwnership = true})  {
    return LocationPolygon(
      PolygonImpl.fromNative(native.polygon, takeOwnership: takeOwnership),
      native.locationId,
      native.sublocationId,
    );
}