PageIdentity class final

One page's (or screen's) title and description override, keyed in AppIdentity.pages by an editor page id, or a canvas or layout id.

Annotations
  • @immutable

Constructors

PageIdentity({String? name, String? title, String? description, String? path, Json extra = const {}})
const

Properties

description → String?
final
extra → Json
The rest (socialImage), kept.
final
hashCode → int
The hash code for this object.
no setteroverride
name → String?
The page's own name (filled in at publish): ${page.title} when title is null.
final
path → String?
Its URL path below the site root (filled in at publish).
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
title → String?
${page.title} in the template.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Json
toString() → String
A string representation of this object.
inherited

Operators

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

Static Methods

fromJson(Object? json) → PageIdentity