getCurrentInputSource method
Gets the current input source as an opaque, platform-specific token (macOS and Windows). Callers must only round-trip it via setInputSource.
Implementation
@override
Future<String?> getCurrentInputSource() async {
final result = await methodChannel
.invokeMethod<String>(ImeMethods.getCurrentInputSource);
return result;
}