Command class
Used by ViewModels and other BindableBase objects to execute a command/function.
A command object should be returned by a property get statement.
Properties
- canExecute → bool Function()
-
Checks if function can be executed on the BindableBase object.
no setter
- execute → void Function()
-
Execute's the function on the BindableBase object.
no setter
- executeIf → void Function()
-
Execute's the function on the BindableBase object if allowed.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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