getCurrentInputSource method
Gets the current input source ID (macOS only).
Implementation
@override
Future<String?> getCurrentInputSource() async {
final result =
await methodChannel.invokeMethod<String>('getCurrentInputSource');
return result;
}