Rating class
- Inheritance
-
- Object
- PollQuestion
- Rating
- Annotations
-
- @JsonSerializable(explicitToJson: true, includeIfNull: false)
Constructors
- Rating({String? question, PollQuestionType? type, int? steps, String? icon})
-
Rating.fromJson(Map<
String, dynamic> json) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- icon ↔ String?
-
getter/setter pair
- question ↔ String?
-
getter/setter pairinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- steps ↔ int?
-
getter/setter pair
- type ↔ PollQuestionType?
-
getter/setter pairinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
override
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited