create method
Create a document if it doesn't exist, otherwise throw exception.
Implementation
Future<Document> create(Map<String, dynamic> map) => _gateway.createDocument(
fullPath.substring(0, fullPath.lastIndexOf('/')), id, _encodeMap(map));