@override Map<String, dynamic> toJson() { return { 'duration_type': durationType, 'seconds': seconds, }; }