handleCommand method
- Command command,
- WidgetController prober,
- CreateFinderFactory finderFactory
override
Deserializes the finder from JSON generated by Command.serialize or CommandWithTarget.serialize.
Implementation
@override
Future<Result> handleCommand(Command command, WidgetController prober, CreateFinderFactory finderFactory) {
final String kind = command.kind;
if (_commandExtensions.containsKey(kind)) {
return _commandExtensions[kind]!.call(command, prober, finderFactory, this);
}
return super.handleCommand(command, prober, finderFactory);
}