factory MatchedSubstring.fromJson(Map<String, dynamic> json) { return MatchedSubstring(length: json["length"], offset: json["offset"]); }