User constructor
const
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,
Implementation
const factory 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,
}) = _User;