getByType static method

int getByType(
  1. NotificationButtonType type
)

Implementation

static int getByType(NotificationButtonType type) {
  return NotificationButtonType.values.firstWhere((x) => x == type).value;
}