Attachment.fromJson constructor
Attachment.fromJson(
- Map json_
Implementation
Attachment.fromJson(core.Map json_)
: this(
mimeType: json_.containsKey('mimeType')
? (json_['mimeType'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
name: json_.containsKey('name') ? json_['name'] as core.String : null,
);