getPlatformBackend function
Returns the appropriate TerminalBackend for the current platform.
Throws an UnsupportedError if the platform is not supported.
Implementation
TerminalBackend getPlatformBackend() {
throw UnsupportedError('No platform backend implementation found.');
}