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