findCommandByType<T extends AFCommand> method
Implementation
AFCommand? findCommandByType<T extends AFCommand>() {
final result = commands.all.firstWhereOrNull((c) => c is T);
return result;
}
AFCommand? findCommandByType<T extends AFCommand>() {
final result = commands.all.firstWhereOrNull((c) => c is T);
return result;
}