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