Map<String, dynamic> toJson() { final json = <String, dynamic>{}; json[r'pattern'] = this.pattern; json[r'matches'] = this.matches; return json; }