database/models/document_dto library

Classes

DocumentDto
One document as the database API returns it: the caller's fields under data, with the system fields alongside.

Functions

mergeDocumentJson(DocumentDto document) Map<String, dynamic>
Flattens a document into the shape a Model's fromJson expects.