UserObject constructor
UserObject({
- DateTime? banExpires,
- required bool banned,
- DateTime? createdAt,
- Map<
String, Object> custom = const {}, - DateTime? deactivatedAt,
- DateTime? deletedAt,
- required String id,
- bool? invisible,
- String? language,
- DateTime? lastActive,
- required bool online,
- PrivacySettings? privacySettings,
- PushNotificationSettings? pushNotifications,
- DateTime? revokeTokensIssuedBefore,
- required String role,
- List<
String> teams = const [], - DateTime? updatedAt,
Returns a new UserObject instance.
Implementation
UserObject({
this.banExpires,
required this.banned,
this.createdAt,
this.custom = const {},
this.deactivatedAt,
this.deletedAt,
required this.id,
this.invisible,
this.language,
this.lastActive,
required this.online,
this.privacySettings,
this.pushNotifications,
this.revokeTokensIssuedBefore,
required this.role,
this.teams = const [],
this.updatedAt,
});