getInstance static method

WriteBatch getInstance(
  1. WriteBatchJsImpl jsObject
)

Creates a new WriteBatch from a jsObject.

Implementation

static WriteBatch getInstance(firestore_interop.WriteBatchJsImpl jsObject) =>
    _expando[jsObject] ??= WriteBatch._fromJsObject(jsObject);