doc abstract method

DocumentRef doc([
  1. String? id
])

Returns a DocumentRef with the provided id.

If no id is provided, an auto-generated ID is used.

The unique key generated is prefixed with a client-generated timestamp so that the resulting list will be chronologically-sorted.

Implementation

DocumentRef doc([String? id]);