exec method

FutureOr<void> exec(
  1. P1 p1,
  2. P2 p2,
  3. P3 p3
)

Executes the command function commandFunc.

Implementation

FutureOr<void> exec(P1 p1, P2 p2, P3 p3) {
  assert(commandFunc != null);
  return _doExecute(() => commandFunc!(p1, p2, p3));
}