TokenDetails constructor
      
      TokenDetails({ 
    
    
- bool? interactive,
- AccountInfo? account,
- List<String> ? scopes,
- bool? enableGranularPermissions,
Implementation
TokenDetails({
  /// Fetching a token may require the user to sign-in to Chrome, or
  /// approve the application's requested scopes. If the interactive
  /// flag is `true`, `getAuthToken` will
  /// prompt the user as necessary. When the flag is
  /// `false` or omitted, `getAuthToken` will
  /// return failure any time a prompt would be required.
  bool? interactive,
  /// The account ID whose token should be returned. If not specified, the
  /// function will use an account from the Chrome profile: the Sync account
  /// if
  /// there is one, or otherwise the first Google web account.
  AccountInfo? account,
  /// A list of OAuth2 scopes to request.
  ///
  /// When the `scopes` field is present, it overrides the
  /// list of scopes specified in manifest.json.
  List<String>? scopes,
  /// The `enableGranularPermissions` flag allows extensions to
  /// opt-in early to the granular permissions consent screen, in which
  /// requested permissions are granted or denied individually.
  bool? enableGranularPermissions,
}) : _wrapped = $js.TokenDetails(
        interactive: interactive,
        account: account?.toJS,
        scopes: scopes?.toJSArray((e) => e),
        enableGranularPermissions: enableGranularPermissions,
      );