User class

Annotations
  • @freezed

Constructors

User({required String id, String? username, String? displayName, String? avatarUrl, String? langTag, String? location, String? timezone, String? metadata, String? facebookId, String? googleId, String? gamecenterId, String? steamId, @Default(false) bool online, @Default(0) int edgeCount, DateTime? createTime, DateTime? updateTime, String? facebookInstantGameId, String? appleId})
const
factory
User.fromDto(User user)
factory
User.fromJson(Map<String, Object?> json)
factory

Properties

appleId String?
no setterinherited
avatarUrl String?
no setterinherited
copyWith → $UserCopyWith<User>
no setterinherited
createTime DateTime?
no setterinherited
displayName String?
no setterinherited
edgeCount int
no setterinherited
facebookId String?
no setterinherited
facebookInstantGameId String?
no setterinherited
gamecenterId String?
no setterinherited
googleId String?
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
id String
no setterinherited
langTag String?
no setterinherited
location String?
no setterinherited
metadata String?
no setterinherited
online bool
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
steamId String?
no setterinherited
timezone String?
no setterinherited
updateTime DateTime?
no setterinherited
username String?
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