V2Key.fromJson constructor
V2Key.fromJson(
- Map json_
Implementation
V2Key.fromJson(core.Map json_)
: this(
annotations:
(json_['annotations'] as core.Map<core.String, core.dynamic>?)
?.map(
(key, value) => core.MapEntry(
key,
value as core.String,
),
),
createTime: json_['createTime'] as core.String?,
deleteTime: json_['deleteTime'] as core.String?,
displayName: json_['displayName'] as core.String?,
etag: json_['etag'] as core.String?,
keyString: json_['keyString'] as core.String?,
name: json_['name'] as core.String?,
restrictions: json_.containsKey('restrictions')
? V2Restrictions.fromJson(
json_['restrictions'] as core.Map<core.String, core.dynamic>)
: null,
serviceAccountEmail: json_['serviceAccountEmail'] as core.String?,
uid: json_['uid'] as core.String?,
updateTime: json_['updateTime'] as core.String?,
);