fromNative static method

LocationPoint fromNative(
  1. LocationPointNative native, {
  2. bool takeOwnership = true,
})

Implementation

static LocationPoint fromNative(LocationPointNative native, {bool takeOwnership = true})  {
    return LocationPoint(
      PointImpl.fromNative(native.point, takeOwnership: takeOwnership),
      native.locationId,
      native.sublocationId,
    );
}