getPlatformInfo method

Future<PlatformInfo> getPlatformInfo()

Returns information about the current platform. returns Called with results

Implementation

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