photos property

List<PhotoAttachmentModel>? get photos

Product images.

Implementation

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