newDialog method

void newDialog(
  1. Dialog dialog
)

Dialog

Implementation

void newDialog(Dialog dialog) {
  _dialogs[dialog.id.toString()] = dialog;
}