Document class
The Document class represents a document with an identifier, slug, schema, and optional content
stored as a map.
Constructors
- Document.fromMap(Map map)
-
Document.fromMap(Map map)is a constructor that takes aMapas an argument and creates a newDocumentobject from it.
Properties
Methods
-
asMap(
) → Map - The function returns a map containing the identifier, slug, schema, and content properties.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited