encode static method
Implementation
static Map<String, dynamic> encode(MessageAttachment value) {
Map<String, dynamic> entityAsMap = {
"type" : value.type == null ? null : DocumentLocation.encode(value.type!),
"ids" : value.ids.map((x0) => x0).toList()
};
return entityAsMap;
}