RedirectPage class Null safety

Special Page used for aliasing/redirecting pages. Whenever you specify aliases inside your frontmatter, RedirectPage is created.

Inheritance

Constructors

RedirectPage({required String path, required String destinationUrl})

Properties

aliases List
read / write, inherited
content String?
read-only, override
date DateTime?
read-only, inherited
destinationUrl String
final
hashCode int
The hash code for this object. [...]
read-only, inherited
isIndex bool
read-only, inherited
jinja bool
late, final, inherited
metadata Map<String, dynamic>
final, inherited
path String
final, inherited
public bool
Public pages are build into public folder. When public is false, the page is not build. It is still accessible in templates in both cases.
late, final, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
tags List
late, final, inherited
title String
late, final, inherited

Methods

getBuildPath(Config config) String
Get final build path for this Page. [...]
inherited
getPages() List<Page>
inherited
getPublicUrl(Config config, {bool isServe = false}) String
inherited
getUpdated(Config config) Future<DateTime?>
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toMap() Map<String, Object>
override
toString() String
A string representation of this object. [...]
inherited
when<R>({R section(Section section)?, R page(Page page)?}) → R?
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited