onDispose property
- @override
override
A list of commands that disables the subsystem.
For example, after driving this should set the speed to 0.
Implementation
@override
List<Message> get onDispose => [ScienceCommand(stop: true)];
A list of commands that disables the subsystem.
For example, after driving this should set the speed to 0.
@override
List<Message> get onDispose => [ScienceCommand(stop: true)];