User class

Inheritance
Annotations

Constructors

User({required String id, required String username, required String password, required String firstName, required String surname, required String name, required String baseUrl, String? shortName, String? displayName, String? code, String? teiSearchOrganisationUnits, List<UserOrganisationUnit>? organisationUnits, dynamic dataViewOrganisationUnits, String? authorities, String? programs, String? dataSets, required bool isLoggedIn, required bool dirty})
User.fromApi(Map<String, dynamic> json)
factory
User.fromJson(Map<String, dynamic> json)
factory

Properties

authorities String?
final
baseUrl String
final
code String?
finalinherited
created String?
getter/setter pairinherited
dataSets String?
final
dataViewOrganisationUnits → dynamic
final
dirty bool
getter/setter pairinherited
displayName String?
finalinherited
firstName String
final
hashCode int
The hash code for this object.
no setterinherited
id String?
getter/setter pairinherited
isLoggedIn bool
getter/setter pair
lastUpdated String?
getter/setter pairinherited
name String?
getter/setter pairinherited
organisationUnits List<UserOrganisationUnit>?
getter/setter pair
password String
final
programs String?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shortName String?
finalinherited
surname String
final
teiSearchOrganisationUnits String?
final
username String
final

Methods

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

Operators

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