Survey class

Constructors

Survey.new({required int surveyID, required SurveyQuestion surveyQuestion, required List<SurveyAnswer> surveyOptions, required User surveyOwner, required bool surveyStatus, required double surveyvotingPercentage, required int surveyvotingCount, required bool didIVote, required int selectedOption, required String surveyEndDate, required String surveyRemainingTime})

Properties

didIVote bool
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
selectedOption int
getter/setter pair
surveyEndDate String
getter/setter pair
surveyID int
final
surveyOptions List<SurveyAnswer>
getter/setter pair
surveyOwner User
getter/setter pair
surveyQuestion SurveyQuestion
getter/setter pair
surveyRemainingTime String
getter/setter pair
surveyStatus bool
getter/setter pair
surveyvotingCount int
getter/setter pair
surveyvotingPercentage double
getter/setter pair

Methods

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

Operators

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