deserializeFinder method Null safety

  1. @override
SerializableFinder deserializeFinder(
  1. Map<String, String> json
)
override

Deserializes the finder from JSON generated by SerializableFinder.serialize.

Implementation

@override
SerializableFinder deserializeFinder(Map<String, String> json) {
  final String? finderType = json['finderType'];
  if (_finderExtensions.containsKey(finderType)) {
    return _finderExtensions[finderType]!.deserialize(json, this);
  }

  return super.deserializeFinder(json);
}