CurrentUser constructor

CurrentUser({
  1. required String uid,
  2. required String name,
  3. String? avatar,
  4. String? link,
  5. String? role,
  6. String? status,
  7. String? statusMessage,
  8. DateTime? lastActiveAt,
  9. List<String>? tags,
  10. Map<String, dynamic>? metadata,
  11. bool? hasBlockedMe,
  12. bool? blockedByMe,
  13. DateTime? deactivatedAt,
  14. String? authToken,
  15. String? identity,
  16. String? secret,
  17. String? jwt,
  18. String? fat,
})

Constructs a new CurrentUser instance.

Requires uid and name to be specified. Other properties are optional.

Implementation

CurrentUser({
  required super.uid,
  required super.name,
  super.avatar,
  super.link,
  super.role,
  super.status,
  super.statusMessage,
  super.lastActiveAt,
  super.tags,
  super.metadata,
  super.hasBlockedMe,
  super.blockedByMe,
  super.deactivatedAt,
  this.authToken,
  this.identity,
  this.secret,
  this.jwt,
  this.fat,
});