Returns bool - Whether window is focused.
bool
@platforms macos,windows
Future<bool> isFocused() async { return await _channel.invokeMethod('isFocused'); }