copyHistory property

List<WallAttachmentModel>? get copyHistory

An array containing the history of reposts to be recorded. It is returned only if the record is a repost. Each of the array objects, in turn, is a standard format record object.

Implementation

List<WallAttachmentModel>? get copyHistory =>
    (payload['copy_history'] as List?)
        ?.map((e) => WallAttachmentModel((e as Map).cast<String, dynamic>()))
        .toList();