UserEventPayload constructor

UserEventPayload({
  1. required bool banned,
  2. List<String> blockedUserIds = const [],
  3. required DateTime createdAt,
  4. Map<String, Object> custom = const {},
  5. DateTime? deactivatedAt,
  6. DateTime? deletedAt,
  7. required String id,
  8. String? image,
  9. bool? invisible,
  10. required String language,
  11. DateTime? lastActive,
  12. String? name,
  13. required bool online,
  14. PrivacySettingsResponse? privacySettings,
  15. DateTime? revokeTokensIssuedBefore,
  16. required String role,
  17. List<String> teams = const [],
  18. 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,
});