Cmd constructor

const Cmd(
  1. Future<Msg?> _execute()
)

Creates a command from an async function.

Implementation

const Cmd(this._execute);