toValue property

int get toValue

Implementation

int get toValue {
  if (this == NotificationImportance.importanceMin) {
    return 1;
  }
  if (this == NotificationImportance.importanceLow) {
    return 2;
  }
  if (this == NotificationImportance.importanceDefault) {
    return 3;
  }
  if (this == NotificationImportance.importanceHight) {
    return 4;
  }
  return 0;
}