Create a new document.
id is the ID of the document.
id
@override T create([Object? id]) => createDocument(id);