fromJSON static method
Implementation
static MessageAttachment fromJSON(Map<String, dynamic> data) {
return MessageAttachment(
type: data["type"] == null ? null : DocumentLocation.fromJSON(data["type"]),
ids: (data["ids"] as List<dynamic>).map((x0) => (x0 as String) ).toList()
);
}