Attachment.fromJson constructor
Attachment.fromJson(
- Map json_
Implementation
Attachment.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,
),
),
attachmentNamespace: json_['attachmentNamespace'] as core.String?,
createTime: json_['createTime'] as core.String?,
files: (json_['files'] as core.List?)
?.map((value) => value as core.String)
.toList(),
name: json_['name'] as core.String?,
ociVersionName: json_['ociVersionName'] as core.String?,
target: json_['target'] as core.String?,
type: json_['type'] as core.String?,
updateTime: json_['updateTime'] as core.String?,
);