DVPageDocument class
A builder-editable page: a route, a title, and a widget tree.
- Available extensions
Constructors
-
DVPageDocument({required String route, String title = '', DVPageNode? root, Set<
DVDeployTarget> ? targets}) -
DVPageDocument.fromJson(Map<
String, Object?> json) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- root ↔ DVPageNode
-
getter/setter pair
- route → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
targets
↔ Set<
DVDeployTarget> ? -
Where the page was deployed, or null for everywhere.
getter/setter pair
- title ↔ String
-
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
reaches(
DVDeployTarget target) → bool -
True when an app of
targetserves this page. -
toDartSource(
) → String -
Available on DVPageDocument, provided by the DVPageDocumentSource extension
Full code export: the page as the same private expression-bodied@DVPagesource a hand-written page uses. Once exported, the builder is out of the loop — the page is ordinary code. -
toJson(
) → Map< String, Object?> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited