Page class

A class that represents sections

Constructors

Page({String name, bool published: false, DateTime date: null, String layout, String author, List<String> tags, List<Page> children})
default constructor
Page.fromJson(Map<String, dynamic> json)
json constructor json is a Map with a String key and dynamic value

Properties

author String
read / write
children List<Page>
read / write
date DateTime
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
layout String
read / write
name String
read / write
published bool
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
tags List<String>
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() Map<String, dynamic>
converts object to json
toString() String
Returns a string representation of this object.
inherited

Operators

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