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