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

Method fromNative

packages/firebase-storage/index.android.ts:217–225  ·  view source on GitHub ↗
(value: com.google.firebase.storage.StorageMetadata)

Source from the content-addressed store, hash-verified

215 }
216
217 static fromNative(value: com.google.firebase.storage.StorageMetadata) {
218 if (value instanceof com.google.firebase.storage.StorageMetadata) {
219 const meta = new Metadata();
220 meta._native = value;
221 meta._builder = null;
222 return meta;
223 }
224 return null;
225 }
226
227 get native() {
228 if (this._builder) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected