toInt method

int toInt()

Return an integer.

Implementation

int toInt() {
  switch (this) {
    case FlashOperation.flashCancel:
      return SDL_FlashOperation.SDL_FLASH_CANCEL;
    case FlashOperation.flashBriefly:
      return SDL_FlashOperation.SDL_FLASH_BRIEFLY;
    case FlashOperation.flashUntilFocused:
      return SDL_FlashOperation.SDL_FLASH_UNTIL_FOCUSED;
  }
}