Config class

A class that represents configuration

Constructors

Config({String title, String author, String theme, List<Page> pages})
default constructor
Config.fromJson(Map<String, dynamic> json)
json constructor json is a Map with a String key and dynamic value

Properties

author String
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
pages List<Page>
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
theme String
read / write
title 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