User class Null safety

A Users resource represents an account associated with an enterprise.

The account may be specific to a device or to an individual user (who can then use the account across multiple devices). The account may provide access to managed Google Play only, or to other Google services, depending on the identity model: - The Google managed domain identity model requires synchronization to Google account sources (via primaryEmail). - The managed Google Play Accounts identity model provides a dynamic means for enterprises to create user or device accounts as needed. These accounts provide access to managed Google Play.


User({String? accountIdentifier, String? accountType, String? displayName, String? id, String? managementType, String? primaryEmail})
User.fromJson(Map json_)


accountIdentifier String?
A unique identifier you create for this user, such as "user342" or "asset#44418".
read / write
accountType String?
The type of account that this user represents.
read / write
displayName String?
The name that will appear in user interfaces.
read / write
hashCode int
The hash code for this object.
id String?
The unique ID for the user.
read / write
managementType String?
The entity that manages the user.
read / write
primaryEmail String?
The user's primary email address, for example, "".
read / write
runtimeType Type
A representation of the runtime type of the object.


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


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