ComponentContent class

Inheritance

Constructors

ComponentContent({Map<String, dynamic>? data, Map<String, Link?> links = const {}, ComponentMeta? meta, ElementTypeEnum? type})

Properties

data Map<String, dynamic>?
Returns a new ComponentContent instance.
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) ComponentContent
Returns a new ComponentContent instance and imports its values from value if it's a Map, null otherwise.
override