MyTwoCentsConfig class
Configuration for a "My Two Cents" / media critics page loaded from JSON.
This class holds metadata and content paths for opinion/review pages. Implements MarkdownContentConfig to enable use with MarkdownContentPage.
Constructors
-
MyTwoCentsConfig.fromJsonFile(Map<
String, dynamic> jsonFile) - Creates a MyTwoCentsConfig from a JSON map.
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 -
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