DVShortcut class
A serializable shortcut. command refers to a callback supplied by the app; loading data never evaluates code or invokes the callback.
Constructors
- DVShortcut({required String keys, required String command, required String label, bool allowInTextFields = false})
-
const
-
DVShortcut.fromJson(Map<
String, Object?> json) -
factory
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, Object?> -
toString(
) → String -
A string representation of this object.
inherited
-
validate(
) → void - Fail early for malformed data, including unknown keys and modifiers.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited