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

Method fromNative

packages/firebase-database/index.ios.ts:76–83  ·  view source on GitHub ↗
(disconnect: FIRDatabaseReference)

Source from the content-addressed store, hash-verified

74 _native: FIRDatabaseReference;
75
76 static fromNative(disconnect: FIRDatabaseReference) {
77 if (disconnect instanceof FIRDatabaseReference) {
78 const d = new OnDisconnect();
79 d._native = disconnect;
80 return d;
81 }
82 return null;
83 }
84
85 get native() {
86 return this._native;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected