GetCommand constructor

GetCommand({
  1. bool enabled = true,
  2. bool executing = false,
})

Creates an instance.

Provide enabled and executing for the initial state. Use the setState function to manual adjust the state.

Implementation

GetCommand({bool enabled = true, bool executing = false})
    : super(enabled: enabled, executing: executing);