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 aMap
as an argument and creates a newDocument
object 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