DVAppShortcutsConfig class
What reading dartvel.appShortcuts found.
Constructors
-
DVAppShortcutsConfig(List<
DVAppShortcut> shortcuts, {List<String> problems = const <String>[]}) -
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
problems
→ List<
String> -
Why an entry was left out, or why the list will not display as written.
Reported rather than thrown, so one bad entry costs that entry.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
shortcuts
→ List<
DVAppShortcut> -
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
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
parse(
Object? value) → DVAppShortcutsConfig -
Reads the
dartvel.appShortcutsvalue, as YAML or as the map a Dart config class wrote. Validation is here and only here, so both spellings are refused for the same reasons in the same words. -
toPubspec(
List< DVAppShortcut> shortcuts) → List<Map< String, Object?> > -
The
dartvel.appShortcutsvalue forshortcuts.