Returns bool - Whether window is focused.
bool
Supported Platforms:
Future<bool> isFocused() async { return await _invokeMethod('isFocused'); }