getTitle method
Get the title of a window.
\param window the window to query. \returns the title of the window in UTF-8 format or "" if there is no title.
\threadsafety This function should only be called on the main thread.
\since This function is available since SDL 3.1.3.
\sa SDL_SetWindowTitle
extern SDL_DECLSPEC const char * SDLCALL SDL_GetWindowTitle(SDL_Window *window)
Implementation
String? getTitle() {
return sdlGetWindowTitle(this);
}