context<T> method
Implementation
void context<T>(String key, Function(T) fn) {
final command =
_commandMapper.entries.firstWhere((element) => element.key == key);
fn(command.value());
}
void context<T>(String key, Function(T) fn) {
final command =
_commandMapper.entries.firstWhere((element) => element.key == key);
fn(command.value());
}