User.fromUID constructor
User.fromUID({
- required String uid,
- required String name,
- String? avatar = '',
- String? link = '',
- String? role = 'default',
- String? status = 'offline',
- String? statusMessage = '',
- DateTime? lastActiveAt,
- List<
String> ? tags = const [], - Map<
String, dynamic> ? metadata = const {}, - bool? hasBlockedMe = false,
- bool? blockedByMe = false,
Implementation
User.fromUID({
required this.uid,
required this.name,
this.avatar = '',
this.link = '',
this.role = 'default',
this.status = 'offline',
this.statusMessage = '',
this.lastActiveAt,
this.tags = const [],
this.metadata = const {},
this.hasBlockedMe = false,
this.blockedByMe = false,
});