A notification to the user containing a message and type.
Invoke the given callback when the notification is dismissed.
| Argument | Description | 
|---|---|
| 
 | Function to be called when the notification is dismissed. | 
| Return values | 
|---|
| Returns a Disposable on which  | 
Invoke the given callback when the notification is displayed.
| Argument | Description | 
|---|---|
| 
 | Function to be called when the notification is displayed. | 
| Return values | 
|---|
| Returns a Disposable on which  | 
Dismisses the notification, removing it from the UI. Calling this
programmatically will call all callbacks added via onDidDismiss.