GetSessionResult class

Result data returned by getSession.

Constructors

GetSessionResult({required String approximateLastUseTime, required String createTime, required String creatorRole, required Map<String, String> labels, required String name})
Creates a new GetSessionResult. approximateLastUseTime The approximate timestamp when the session is last used. It is typically earlier than the actual last use time. createTime The timestamp when the session is created. creatorRole The database role which created this session. labels The labels for the session. * Label keys must be between 1 and 63 characters long and must conform to the following regular expression: [a-z]([-a-z0-9]*[a-z0-9])?. * Label values must be between 0 and 63 characters long and must conform to the regular expression ([a-z]([-a-z0-9]*[a-z0-9])?)?. * No more than 64 labels can be associated with a given session. See https://goo.gl/xmQnxf for more information on and examples of labels. name The name of the session. This is always system-assigned.
const
GetSessionResult.fromMap(Map<String, dynamic> map)
factory

Properties

approximateLastUseTime → String
The approximate timestamp when the session is last used. It is typically earlier than the actual last use time.
final
createTime → String
The timestamp when the session is created.
final
creatorRole → String
The database role which created this session.
final
hashCode → int
The hash code for this object.
no setterinherited
labels → Map<String, String>
The labels for the session. * Label keys must be between 1 and 63 characters long and must conform to the following regular expression: [a-z]([-a-z0-9]*[a-z0-9])?. * Label values must be between 0 and 63 characters long and must conform to the regular expression ([a-z]([-a-z0-9]*[a-z0-9])?)?. * No more than 64 labels can be associated with a given session. See https://goo.gl/xmQnxf for more information on and examples of labels.
final
name → String
The name of the session. This is always system-assigned.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Operators

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