IdeaUser class

Annotations
  • @JsonSerializable()

Constructors

IdeaUser({required String username, required String fullname, required String bio, required String avatarPath, required bool defaultUser, required int coins, int gender = 2, double? age = 20})
IdeaUser.fromJson(Map<String, dynamic> json)
factory

Properties

age double?
getter/setter pair
avatarPath String
getter/setter pair
bio String
getter/setter pair
coins int
getter/setter pair
defaultUser bool
getter/setter pair
fullname String
getter/setter pair
gender int
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
pass String
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
username String
getter/setter pair

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.
inherited