Token class

JSON template for token resource in Directory API.

Constructors

Token({bool? anonymous, String? clientId, String? displayText, String? etag, String? kind, bool? nativeApp, List<String>? scopes, String? userKey})
Token.fromJson(Map json_)

Properties

anonymous bool?
Whether the application is registered with Google.
getter/setter pair
clientId String?
The Client ID of the application the token is issued to.
getter/setter pair
displayText String?
The displayable name of the application the token is issued to.
getter/setter pair
etag String?
ETag of the resource.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
kind String?
The type of the API resource.
getter/setter pair
nativeApp bool?
Whether the token is issued to an installed application.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scopes List<String>?
A list of authorization scopes the application is granted.
getter/setter pair
userKey String?
The unique ID of the user that issued the token.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited