UserStats class Null safety

Annotations

Constructors

UserStats(int? rating, int playCount, int completedCount)
UserStats.fromJson(Map<String, dynamic> json)
factory

Properties

completedCount int
@JsonKey(name: 'completed_count'), final
hashCode int
The hash code for this object.
read-only, inherited
playCount int
@JsonKey(name: 'play_count'), final
rating int?
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

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

Operators

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

Static Methods

fromJsonModel(Map<String, dynamic> json) UserStats