getByType static method

int getByType(
  1. RemoteMessagesDisplayType type
)

Implementation

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