User class

Model for a User

Constructors

User({required String email, required String lastName, required String firstName, required String id, required LinkMap links, List<Space>? embeddedSpaces})
Creates a new User Model with a certain id, firstName, lastName and email spaceUris is List<SpaceUri> pointing to the Spacess of this User
User.fromJson(Map<String, dynamic> json)
Deserializes json into a User Object

Properties

email String
Email of the this User
final
embeddedSpaces List<Space>?
A List of embedded Spaces
final
firstName String
First Name of this User
final
hashCode int
The hash code for this object.
no setteroverride
id String
Id of this User
final
lastName String
Last Name of this User
final
Links to actions the user can take
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Serializes this Space into a json Map
toString() String
A string representation of this object.
override

Operators

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