getCurrentInputSource method

  1. @override
Future<String?> getCurrentInputSource()
override

Gets the current input source ID (macOS only).

Implementation

@override
Future<String?> getCurrentInputSource() async {
  final result =
      await methodChannel.invokeMethod<String>('getCurrentInputSource');
  return result;
}