Document class

Inheritance

Constructors

Document({Map<String, dynamic>? data, Map<String, Link?> links = const {}, ComponentMeta? meta, required ElementTypeEnum? type})
Returns a new Document instance.

Properties

data Map<String, dynamic>?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
getter/setter pairinherited
meta ComponentMeta?
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type ElementTypeEnum?
getter/setter pairinherited

Methods

getData(String key) → dynamic
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

fromJson(dynamic value) Document
Returns a new Document instance and imports its values from value if it's a Map, null otherwise.
override