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

Method fromNative

packages/firebase-storage/index.ios.ts:580–587  ·  view source on GitHub ↗
(storage: FIRStorage)

Source from the content-addressed store, hash-verified

578 }
579
580 static fromNative(storage: FIRStorage) {
581 if (storage instanceof FIRStorage) {
582 const store = new Storage();
583 store._native = storage;
584 return store;
585 }
586 return null;
587 }
588
589 useEmulator(host: string, port: number) {
590 this.native.useEmulatorWithHostPort(host, port);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected