Deserializes the finder from JSON generated by serialize.
static ByType deserialize(Map<String, String> json) { return ByType(json['type']!); }