Get the number of modes for this display.
SDL Docs
int get numDisplayModes => sdl.checkReturnValue(sdl.sdl.SDL_GetNumDisplayModes(index));