doc method

  1. @override
DocumentReference<T> doc([
  1. String? path
])
override

Returns a DocumentReference with the provided path.

If no path 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

@override
_i2.DocumentReference<T> doc([String? path]) =>
    (super.noSuchMethod(Invocation.method(#doc, [path]), returnValue: _FakeDocumentReference<T>()) as _i2.DocumentReference<T>);