BorankoProject class final

A decoded .boranko project (normalised; unknown keys kept).

Annotations
  • @immutable

Constructors

BorankoProject(Map<String, Object?> document, {required String variant, required String formatVersion, required String schema})
Creates a project view.
const

Properties

document → Map<String, Object?>
data.json with reader defaults applied.
final
formatVersion → String
version (default 1.0.0).
final
hashCode → int
The hash code for this object.
no setterinherited
pages → List<Map<String, Object?>>
Pages.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
schema → String
Schema minor that validated it.
final
variant → String
directory, zip or single-json.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, Object?>
The normalised result object.
toString() → String
A string representation of this object.
inherited

Operators

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