Component class

Inheritance

Constructors

Component({List<Pointer?>? children = const [], Map<String, dynamic>? models = const {}, String? id, String? label, String? name, Map<String, Link?> links = const {}, ComponentMeta? meta, required ElementTypeEnum? type})
Returns a new Component instance.

Properties

children ↔ List<Pointer?>?
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
id ↔ String?
getter/setter pairinherited
label ↔ String?
getter/setter pairinherited
getter/setter pairinherited
meta ↔ ComponentMeta?
getter/setter pairinherited
models ↔ Map<String, dynamic>?
getter/setter pair
name ↔ String?
getter/setter pairinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
type ↔ ElementTypeEnum?
getter/setter pairinherited

Methods

getMenu(Page page) → Menu?
getPagination(Page page) → Pagination?
hasMenu() → bool
hasPagination() → bool
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) → Component
Returns a new Component instance and imports its values from value if it's a Map, null otherwise.
override