sendNotification method

void sendNotification(
  1. String noteName,
  2. [dynamic body,
  3. String type]

Send an INotification.

Convenience method to prevent having to construct new INotification instances in our implementation code.

  • Param noteName the name of the note to send
  • Param body - the body of the note (optional)
  • Param type - the type of the note (optional)


void sendNotification(String noteName, [dynamic body, String type]) {
  if (facade != null) {
    facade.sendNotification(noteName, body, type);