@override Map<String, Object?> toJson() => { 'duration': {'value': durationValue, 'unit': durationUnit}, };