confirmDuration method
void
confirmDuration()
Implementation
void confirmDuration() {
if (_chosenDuration.inMinutes < 15) {
makeToast(msg: 'minDurationToast'.roomTr);
return;
}
roomDuration = _chosenDuration;
_roomDurationHrs = _chosenDuration.inHours;
_roomDurationMins = _chosenDuration.inMinutes % 60;
roomDurationString.value = _formatRoomDuration();
Get.back();
}