getInstance static method

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);