getProfileType method

Future<ProfileType> getProfileType()

Gets the type of the profile the extension is in.

Implementation

Future<ProfileType> getProfileType() async {
  var $res = await promiseToFuture<$js.ProfileType>(
      $js.chrome.loginState.getProfileType());
  return ProfileType.fromJS($res);
}