Create a document with a random id.
Future<Document> add(Map<String, dynamic> map) => _gateway.createDocument(fullPath, null, _encodeMap(map));