getUserSettings method

Future<UserSettings> getUserSettings()

Returns the user-specified settings relating to an extension's action.

Implementation

Future<UserSettings> getUserSettings() async {
  var $res = await promiseToFuture<$js.UserSettings>(
      $js.chrome.action.getUserSettings());
  return UserSettings.fromJS($res);
}