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