MatchedSubstrings.fromJson(Map<String, dynamic> json) { length = json['length']; offset = json['offset']; }