WatchUser class

This essentially the same as the User object, but no _links property and no _expandable property (therefore, different required fields).

Constructors

WatchUser({required String type, String? username, String? userKey, required String accountId, required Icon profilePicture, required String displayName, String? timeZone, required List<OperationCheckResult> operations, required bool isExternalCollaborator, UserDetails? details, required String accountType, required String email, required String publicName, required Map<String, dynamic> personalSpace, required bool externalCollaborator})
WatchUser.fromJson(Map<String, Object?> json)
factory

Properties

accountId String
final
accountType String
final
details UserDetails?
final
displayName String
final
email String
final
externalCollaborator bool
final
hashCode int
The hash code for this object.
no setterinherited
isExternalCollaborator bool
final
operations List<OperationCheckResult>
final
personalSpace Map<String, dynamic>
final
profilePicture Icon
final
publicName String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
timeZone String?
final
type String
final
userKey String?
final
username String?
final

Methods

copyWith({String? type, String? username, String? userKey, String? accountId, Icon? profilePicture, String? displayName, String? timeZone, List<OperationCheckResult>? operations, bool? isExternalCollaborator, UserDetails? details, String? accountType, String? email, String? publicName, Map<String, dynamic>? personalSpace, bool? externalCollaborator}) WatchUser
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, Object?>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited