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

Method fromNative

packages/firebase-firestore/index.ios.ts:946–954  ·  view source on GitHub ↗
(field: FIRFieldPath)

Source from the content-addressed store, hash-verified

944 }
945
946 static fromNative(field: FIRFieldPath) {
947 if (field instanceof FIRFieldPath) {
948 const path = new FieldPath([], true);
949 path._native = field;
950 path._addToMap();
951 return path;
952 }
953 return null;
954 }
955
956 get native() {
957 return this._native;

Callers

nothing calls this directly

Calls 1

_addToMapMethod · 0.95

Tested by

no test coverage detected