run method

  1. @override
Future<R> run(
  1. CommandContext<State, System> context,
  2. System system
)
override

Performs the command on the given system.

Implementation

@override
Future<R> run(CommandContext<State, System> context, System system) async {
  return await _run(system, context.currentValue as T);
}