account property

AccountInfo? get account

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.

Implementation

AccountInfo? get account => _wrapped.account?.let(AccountInfo.fromJS);
set account (AccountInfo? v)

Implementation

set account(AccountInfo? v) {
  _wrapped.account = v?.toJS;
}