encode static method

Map<String, dynamic> encode(
  1. MessageAttachment value
)

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;
}