GetCommandP2<P1, P2> constructor

GetCommandP2<P1, P2>({
  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

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