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

Method fromNative

packages/firebase-performance/index.android.ts:20–27  ·  view source on GitHub ↗
(metric: com.google.firebase.perf.metrics.HttpMetric)

Source from the content-addressed store, hash-verified

18 _native: com.google.firebase.perf.metrics.HttpMetric;
19
20 static fromNative(metric: com.google.firebase.perf.metrics.HttpMetric) {
21 if (metric instanceof com.google.firebase.perf.metrics.HttpMetric) {
22 const result = new HttpMetric();
23 result._native = metric;
24 return result;
25 }
26 return null;
27 }
28
29 get native() {
30 return this._native;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected