attachments property
List<AttachmentModel>
get
attachments
An array of objects corresponding to media resources attached to a record: photos, documents, video files, and others. See https://dev.vk.com/ru/reference/objects/wall#attachments
Implementation
List<AttachmentModel> get attachments =>
transformAttachments((payload['attachments'] as List?)
?.map((e) => (e as Map).cast<String, dynamic>())
.toList() ??
const []);