Command0 class

Command with no argument

Inheritance

Constructors

Command0({required Future<void> action(), bool canExecute() = _defaultCanExecute})
Command with no argument

Properties

canExecute bool Function()
finalinherited
error Object?
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
status → FlutterSignal<CommandStatus>
finalinherited

Methods

dispose() → void
inherited
execute() Future<void>
Execute the Command
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