add method
Adds a new document with data to this collection, with an
auto-generated ID, and returns its reference once the backend has
written it.
Implementation
Future<DocumentReference<T>> add(T data) async {
final DocumentReference<T> ref = doc();
await ref.setFor('CollectionReference.add', data);
return ref;
}