AmityPoll class
Poll Post Entity
- Available extensions
Constructors
Properties
-
answers
↔ List<
AmityPollAnswer> ? -
List of Answer in the poll post
getter/setter pair
- answerType ↔ AmityPollAnswerType?
-
Answer type in the poll post
getter/setter pair
- closedAt ↔ DateTime?
-
Close time for the poll post
getter/setter pair
- closedIn ↔ int?
-
Poll Close In
getter/setter pair
- createdAt ↔ DateTime?
-
Created Time for the poll post
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- isClose → bool
-
flag if poll is closed
no setter
- isDeleted ↔ bool?
-
local flag for deleting the post
getter/setter pair
- isVoted ↔ bool?
-
Flag to check if user have alrady voted the poll
getter/setter pair
- pollId ↔ String?
-
Poll Id
getter/setter pair
- question ↔ String?
-
Question in the poll post
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- status ↔ AmityPollStatus?
-
Poll post status
getter/setter pair
- totalVote → int
-
get the total vote count
no setter
- updatedAt ↔ DateTime?
-
Updated Time for the poll post
getter/setter pair
- userId ↔ String?
-
User Id who created the poll
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.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited