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