deserializeCommand method Null safety
- Map<
String, String> params, - DeserializeFinderFactory finderFactory
override
Deserializes the finder from JSON generated by Command.serialize or CommandWithTarget.serialize.
Implementation
@override
Command deserializeCommand(Map<String, String> params, DeserializeFinderFactory finderFactory) {
final String? kind = params['command'];
if (_commandExtensions.containsKey(kind)) {
return _commandExtensions[kind]!.deserialize(params, finderFactory, this);
}
return super.deserializeCommand(params, finderFactory);
}