GKeyboard constructor
GKeyboard()
Factory constructor to ensure exception. Throws an exception if an attempt is made to instantiate this class.
Implementation
factory GKeyboard() {
throw UnsupportedError(
"Cannot instantiate GKeyboard. Use only static methods.",
);
}