User class

Annotations
  • @JsonSerializable(explicitToJson: true)

Constructors

User({String? userId, String? userName, String language = "en", String? country, bool supervisor = false, String? cert, String? profAss, required TermsAndConditions termsAndConditions, required Consent consent, required Device deviceOwner, List<Device>? pairedDevices, ShareInfo? shareInfo, Mse? mse})
User.fromJson(Map<String, dynamic> json)
factory

Properties

cert String?
getter/setter pair
getter/setter pair
country String?
getter/setter pair
deviceOwner Device
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
language String
getter/setter pair
mse ↔ Mse?
getter/setter pair
pairedDevices List<Device>?
getter/setter pair
profAss String?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shareInfo ↔ ShareInfo?
getter/setter pair
supervisor bool
getter/setter pair
termsAndConditions TermsAndConditions
getter/setter pair
userId String?
getter/setter pair
userName String?
getter/setter pair

Methods

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

Operators

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

Static Methods

convertUserFromJson(String json) User
// converts User List Json to List
convertUsersToJson(List<User> users) String
convert from User List to User json
convertUserToJson(User currentUser) String
convert from User to UserJson