RouteBase class abstract
- Inheritance
-
- Object
- ContentItem
- RouteBase
- Implemented types
Constructors
-
RouteBase({required String schemaType, RouteTypeConfiguration? routeType, required String title, required String path, String? category, required DateTime createdAt, required DateTime updatedAt, required String id, LayoutConfiguration<
ContentItem> ? layout}) -
RouteBase.fromJson(Map<
String, dynamic> json) -
factory
Properties
- category → String?
-
final
- createdAt → DateTime
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
final
-
layout
→ LayoutConfiguration<
ContentItem> ? -
The layout configuration for the content item.
finalinherited
- parent ↔ ContentItem?
-
The parent content item of this content item. This is used internally by the content system.
getter/setter pairinherited
- path → String
-
final
- routeType → RouteTypeConfiguration?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- schemaType → String
-
The schema type of the content item.
finalinherited
- title → String
-
final
- updatedAt → DateTime
-
final
Methods
-
createPage<
T> (BuildContext context, [LocalKey? pageKey]) → Page< T> -
dispose(
) → Future< void> -
init(
) → Future< RouteBase?> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setParent(
Iterable< ContentItem?> children) → void -
Sets the parent content item for the given list of children.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited