LiveShellDispatch typedef

LiveShellDispatch = Future<int?> Function(String name, List<String> arguments, LiveRunner runner)

Runs one command inside metro live and returns its exit code, or null when no command has that name.

Implementation

typedef LiveShellDispatch =
    Future<int?> Function(
      String name,
      List<String> arguments,
      LiveRunner runner,
    );