getPlatformInfo method

Future<PlatformInfo> getPlatformInfo()

Returns information about the current platform. returns Called with results

Implementation

Future<PlatformInfo> getPlatformInfo() async {
  var $res = await $js.chrome.runtime.getPlatformInfo().toDart;
  return PlatformInfo.fromJS($res);
}