Profile class

Constructors

Profile({required String id, required String username, required String? bio, String? imageUrl, required Level level, required int lives, required int coins, required List<DateTime> streakDays})
Profile.fromJson(Map<String, dynamic> json)
factory

Properties

bio → String?
final
coins → int
final
hashCode → int
The hash code for this object.
no setteroverride
id → String
final
imageUrl → String?
final
level → Level
final
lives → int
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
streakDays → List<DateTime>
final
username → String
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
override