Session.fromJson constructor
Session.fromJson(
- Map json_
Implementation
Session.fromJson(core.Map json_)
: this(
approximateLastUseTime: json_.containsKey('approximateLastUseTime')
? json_['approximateLastUseTime'] as core.String
: null,
createTime: json_.containsKey('createTime')
? json_['createTime'] as core.String
: null,
creatorRole: json_.containsKey('creatorRole')
? json_['creatorRole'] as core.String
: null,
labels: json_.containsKey('labels')
? (json_['labels'] as core.Map<core.String, core.dynamic>).map(
(key, value) => core.MapEntry(
key,
value as core.String,
),
)
: null,
multiplexed: json_.containsKey('multiplexed')
? json_['multiplexed'] as core.bool
: null,
name: json_.containsKey('name') ? json_['name'] as core.String : null,
);