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

Method constructor

packages/firebase-firestore/index.ios.ts:935–940  ·  view source on GitHub ↗
(fieldNames: string[], native = false)

Source from the content-addressed store, hash-verified

933 _native: FIRFieldPath;
934
935 constructor(fieldNames: string[], native = false) {
936 if (!native) {
937 this._native = FIRFieldPath.alloc().initWithFields(fieldNames);
938 this._addToMap();
939 }
940 }
941
942 private _addToMap() {
943 fp_refs.set(this.native.description, new WeakRef(this._native));

Callers

nothing calls this directly

Calls 1

_addToMapMethod · 0.95

Tested by

no test coverage detected