add method

Future<Document> add(
  1. Map<String, dynamic> map
)

Create a document with a random id.

Implementation

Future<Document> add(Map<String, dynamic> map) =>
    _gateway.createDocument(fullPath, null, _encodeMap(map));