LinksConfig class final
The links: config section.
Constructors
-
LinksConfig({String appstore = defaultAppStoreUrl, String testflight = defaultTestFlightUrl, String? play, String site = defaultSiteUrl, bool banner = true, List<
String> notes = const []}) -
Creates a configuration; see each field for its default.
const
- LinksConfig.fromYaml(Object? node)
-
Parses the
links:yaml section. Strict on bad shape: a non-map section, a non-string link value, or an empty link throws ConfigException. Unknown keys are noted and ignored (AC7).factory
Properties
- appstore → String
-
The App Store release (paid).
final
-
Master switch for the in-app App Store banner (AC7):
false= no banner mounts anywhere, byte-identical legacy UI.final - hashCode → int
-
The hash code for this object.
no setterinherited
- isDefault → bool
-
Whether the section's VALUES are byte-equivalent to the defaults
(the save then omits it — defaults are never written, the file stays
minimal, and an on-disk block with future keys survives via the
disk-preserved set). Notes do not count: a future key noted but no
value overridden is still "default".
no setter
-
notes
→ List<
String> -
Tolerant-parse notes (unknown keys) surfaced at boot / by
fa linksconsumers.final - play → String?
-
The Google Play release; null until live — surfaces render the
Android slot as "coming soon" while unset.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- site → String
-
The product site.
final
- testflight → String
-
The public TestFlight beta (free forever).
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
toYaml(
) → String - Renders the section, only the non-default keys (defaults are never written — the file stays minimal).
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited