MCPcopy Index your code
hub / github.com/NativeScript/firebase / fromNative

Method fromNative

packages/firebase-storage/index.ios.ts:93–100  ·  view source on GitHub ↗
(value: FIRStorageUploadTask | FIRStorageDownloadTask)

Source from the content-addressed store, hash-verified

91 _native: FIRStorageUploadTask | FIRStorageDownloadTask;
92
93 static fromNative(value: FIRStorageUploadTask | FIRStorageDownloadTask) {
94 if (value instanceof FIRStorageUploadTask || value instanceof FIRStorageDownloadTask) {
95 const task = new Task();
96 task._native = value;
97 return task;
98 }
99 return null;
100 }
101
102 get native() {
103 return this._native;

Callers 15

errorMethod · 0.45
metadataMethod · 0.45
refMethod · 0.45
taskMethod · 0.45
snapshotMethod · 0.45
onMethod · 0.45
itemsMethod · 0.45
prefixesMethod · 0.45
parentMethod · 0.45
rootMethod · 0.45
storageMethod · 0.45
childMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected