add method
Returns a DocumentReference
with an auto-generated ID, after
populating it with provided data
.
The unique key generated is prefixed with a client-generated timestamp so that the resulting list will be chronologically-sorted.
Implementation
@override
_i8.Future<_i2.DocumentReference<T>> add(T? data) => (super.noSuchMethod(Invocation.method(#add, [data]),
returnValue: Future<_i2.DocumentReference<T>>.value(_FakeDocumentReference<T>())) as _i8.Future<_i2.DocumentReference<T>>);