CurrentUser constructor
CurrentUser({
- required String uid,
- required String name,
- String? avatar,
- String? link,
- String? role,
- String? status,
- String? statusMessage,
- DateTime? lastActiveAt,
- List<
String> ? tags, - Map<
String, dynamic> ? metadata, - bool? hasBlockedMe,
- bool? blockedByMe,
- DateTime? deactivatedAt,
- String? authToken,
- String? identity,
- String? secret,
- String? jwt,
- 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,
});