MCPcopy Create free account
hub / github.com/NativeScript/firebase / constructor

Method constructor

packages/firebase-firestore/index.ios.ts:1021–1025  ·  view source on GitHub ↗
(latitude: number, longitude: number, native: boolean = false)

Source from the content-addressed store, hash-verified

1019 _native: FIRGeoPoint;
1020
1021 constructor(latitude: number, longitude: number, native: boolean = false) {
1022 if (!native) {
1023 this._native = FIRGeoPoint.alloc().initWithLatitudeLongitude(latitude, longitude);
1024 }
1025 }
1026
1027 static fromNative(point: FIRGeoPoint) {
1028 if (point instanceof FIRGeoPoint) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected