PageModel class

Constructors

PageModel({required String documentID, required String appId, String? description, String? title, AppBarModel? appBar, DrawerModel? drawer, DrawerModel? endDrawer, HomeMenuModel? homeMenu, List<BodyComponentModel>? bodyComponents, BackgroundModel? backgroundOverride, PageLayout? layout, GridViewModel? gridView, StorageConditionsModel? conditions})

Properties

appBar AppBarModel?
getter/setter pair
appId String
getter/setter pairoverride
backgroundOverride BackgroundModel?
getter/setter pair
bodyComponents List<BodyComponentModel>?
getter/setter pair
conditions StorageConditionsModel?
getter/setter pair
description String?
getter/setter pair
documentID String
getter/setter pairoverride
drawer DrawerModel?
getter/setter pair
endDrawer DrawerModel?
getter/setter pair
gridView GridViewModel?
getter/setter pair
hashCode int
The hash code for this object.
no setteroverride
homeMenu HomeMenuModel?
getter/setter pair
layout PageLayout?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
title String?
getter/setter pair

Methods

collectReferences({String? appId}) Future<List<ModelReference>>
override
copyWith({String? documentID, String? appId, String? description, String? title, AppBarModel? appBar, DrawerModel? drawer, DrawerModel? endDrawer, HomeMenuModel? homeMenu, List<BodyComponentModel>? bodyComponents, BackgroundModel? backgroundOverride, PageLayout? layout, GridViewModel? gridView, StorageConditionsModel? conditions}) PageModel
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toEntity({String? appId}) PageEntity
override
toString() String
A string representation of this object.
override

Operators

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

Static Methods

fromEntity(String documentID, PageEntity? entity) Future<PageModel?>
fromEntityPlus(String documentID, PageEntity? entity, {String? appId}) Future<PageModel?>

Constants

id → const String
packageName → const String