update method
Implementation
update(DialogQueueElement<T>? dialog) {
if (dialog == null) {
return;
}
_show = dialog._show;
_priority = dialog._priority ?? _priority;
_uniqueKey = dialog._uniqueKey ?? _uniqueKey;
_tag = dialog._tag ?? _tag;
}