getInstance method Null safety

DocumentSnapshot getInstance(
  1. DocumentSnapshotJsImpl jsObject
)

Creates a new DocumentSnapshot from a jsObject.

Implementation

static DocumentSnapshot getInstance(
        firestore_interop.DocumentSnapshotJsImpl jsObject) =>
    _expando[jsObject] ??= DocumentSnapshot._fromJsObject(jsObject);