Problem class
- Annotations
-
- @freezed
Constructors
-
Problem({required double acRate, required DifficultyEnum difficulty, double? freqBar, required String frontendQuestionId, required bool isFavor, required bool paidOnly, String? status, required String questionId, required String title, required String titleSlug, @JsonKey(fromJson: ProblemStatsConverter.fromJson, toJson: ProblemStatsConverter.toJson) required ProblemStats stats, required List<
TopicTag> topicTags}) -
constfactory
-
Problem.fromJson(Map<
String, Object?> json) -
factory
Properties
- acRate → double
-
no setterinherited
-
copyWith
→ $ProblemCopyWith<
Problem> -
no setterinherited
- difficulty → DifficultyEnum
-
no setterinherited
- freqBar → double?
-
no setterinherited
- frontendQuestionId → String
-
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- isFavor → bool
-
no setterinherited
- paidOnly → bool
-
no setterinherited
- questionId → String
-
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stats → ProblemStats
-
no setterinherited
- status → String?
-
no setterinherited
- title → String
-
no setterinherited
- titleSlug → String
-
no setterinherited
-
topicTags
→ List<
TopicTag> -
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited