ContainerItem class

Inheritance

Constructors

ContainerItem({required String ctype, Map<String, dynamic>? models = const {}, Pointer? content, String? id, String? label, String? name, Map<String, Link?> links = const {}, ComponentMeta? meta, required ElementTypeEnum? type})
Returns a new ContainerItem instance.

Properties

content Pointer?
getter/setter pair
ctype String
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

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