User constructor
- {@JsonKey(name: 'userid') required int id,
- required String username,
- required String firstname,
- required String lastname,
- @Default(-1) @JsonKey(name: 'capabilities') int capabilitiesBitMask,
- @Default("") @JsonKey(name: "theme") String themeName,
- @Default("") @JsonKey(name: 'lang') String language,
- @Default("") @JsonKey(name: 'profileimageurl') String profileImageUrl,
- @Default(-1) @JsonKey(name: 'planid') int planId,
- @Default("") @JsonKey(name: 'colorblindness') String colorBlindnessString,
- @Default(1) @JsonKey(name: 'displaytaskcount') int displayTaskCountInt,
- @Default("") String vintage}
A user using the application.
Implementation
factory User