deserialize static method
Deserializes the finder from JSON generated by serialize.
Implementation
static BySemanticsLabel deserialize(Map<String, String> json) {
final bool isRegExp = json['isRegExp'] == 'true';
return BySemanticsLabel(isRegExp ? RegExp(json['label']!) : json['label']!);
}