CommandState.defaultState constructor

CommandState.defaultState()

Create an instance with enabled = true, executing = false and errorMessage = ''

Implementation

factory CommandState.defaultState() {
  return const CommandState(true, false, '');
}