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

Method fromNative

packages/firebase-firestore/index.android.ts:1154–1161  ·  view source on GitHub ↗
(point: com.google.firebase.firestore.GeoPoint)

Source from the content-addressed store, hash-verified

1152 }
1153
1154 static fromNative(point: com.google.firebase.firestore.GeoPoint) {
1155 if (point instanceof com.google.firebase.firestore.GeoPoint) {
1156 const geo = new GeoPoint(0, 0, true);
1157 geo._native = point;
1158 return geo;
1159 }
1160 return null;
1161 }
1162
1163 get latitude(): number {
1164 return this.native.getLatitude();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected