answers property
List<PollAttachmentAnswerModel> ?
get
answers
An array of objects that contain information about answer options.
Implementation
List<PollAttachmentAnswerModel>? get answers => (payload['answers'] as List?)
?.map(
(e) => PollAttachmentAnswerModel((e as Map).cast<String, dynamic>()))
.toList();