create method

  1. @override
T create([
  1. Object? id
])
override

Create a new document.

id is the ID of the document.

Implementation

@override
T create([Object? id]) => createDocument(id);