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