V2Key class Null safety

The representation of a key managed by the API Keys API.


V2Key({String? createTime, String? deleteTime, String? displayName, String? etag, String? keyString, String? name, V2Restrictions? restrictions, String? uid, String? updateTime})
V2Key.fromJson(Map _json)


createTime String?
A timestamp identifying the time this key was originally created. [...]
read / write
deleteTime String?
A timestamp when this key was deleted. [...]
read / write
displayName String?
Human-readable display name of this key that you can modify. [...]
read / write
etag String?
A checksum computed by the server based on the current value of the Key resource. [...]
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
keyString String?
An encrypted and signed value held by this key. [...]
read / write
name String?
The resource name of the key. [...]
read / write
restrictions V2Restrictions?
Key restrictions.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
uid String?
Unique id in UUID4 format. [...]
read / write
updateTime String?
A timestamp identifying the time this key was last updated. [...]
read / write


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. [...]