PollFrameModel class

Constructors

PollFrameModel({required int totalPolls, required List<PollOptions> options, bool hasVoted = false, required Widget title, DateTime? endTime, bool editablePoll = false})

Properties

editablePoll bool
final
endTime DateTime?
final
hashCode int
The hash code for this object.
no setterinherited
hasVoted bool
getter/setter pair
options List<PollOptions>
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
title Widget
final
totalPolls int
This model is the main data model to be passed to polls widget.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited