MyTwoCentsConfig class
A "My Two Cents" review page's metadata and content paths from JSON, usable with MarkdownContentPage.
- Inheritance
-
- Object
- StatefulBranchInfoProvider
- MyTwoCentsConfig
- Implemented types
Constructors
-
MyTwoCentsConfig.fromJsonFile(Map<
String, dynamic> jsonFile) - Throws FormatException on a missing or mistyped field rather than rendering a blank page.
Properties
-
docsDesc
→ List<
Map< String, String> > -
List of appendix document configurations.
final
- fileBaseDir → String
-
Base directory for file downloads.
final
- filePath → String
-
Path to the markdown content file.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- imageDir → String
-
Directory containing images referenced in the markdown.
final
- mediaTitle → String
-
Title of the media being reviewed/discussed.
final
- routingName → String
-
The URL-friendly name used for routing.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
getRoutingName(
) → String -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited