number property

int get number

Implementation

int get number {
  switch (this) {
    case NotificationMode.backgroundOnly:
      return 0;
    case NotificationMode.silentOnly:
      return 1;
      case NotificationMode.backgroundAndForeground:
      return 2;
  }
}