deserialize static method
Deserializes the finder from JSON generated by serialize.
Implementation
static ByType deserialize(Map<String, String> json, {String? path}) {
final String? type = json['type'];
if (type == null) {
throw ArgumentError.notNull(path == null ? 'type' : '$path.type');
}
return ByType(type);
}