User class
Constructors
-
User({int? id, String? username, String? name, String? firstName, String? lastName, String? email, String? url, String? description, String? link, String? locale, String? nickname, String? slug, String? registeredDate, List? roles, String? password, Map<
String, dynamic> ? capabilities, Map<String, dynamic> ? extraCapabilities, Map<String, dynamic> ? avatarUrls, dynamic meta}) - User.fromJson(String source)
-
factory
-
User.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
avatarUrls
→ Map<
String, dynamic> ? -
Avatar URLs for the user.
final
-
capabilities
→ Map<
String, dynamic> ? -
All capabilities assigned to the user.
final
- description → String?
-
Description of the user.
final
- email → String?
-
The email address for the user.
final
-
extraCapabilities
→ Map<
String, dynamic> ? -
Any extra capabilities assigned to the user.
final
- firstName → String?
-
First name for the user.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- id → int?
-
Unique identifier for the user.
final
- lastName → String?
-
Last name for the user.
final
- link → String?
-
Author URL of the user.
final
- locale → String?
-
Locale for the user.
final
- meta → dynamic
-
Meta fields.
final
- name → String?
-
Display name for the user.
final
- nickname → String?
-
The nickname for the user.
final
- password → String?
-
Password for the user (never included).
final
- registeredDate → String?
-
Registration date for the user.
final
- roles → List?
-
Roles assigned to the user.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- slug → String?
-
An alphanumeric identifier for the user.
final
- url → String?
-
URL of the user.
final
- username → String?
-
Login name for the user.
final
Methods
-
copyWith(
{int? id, String? username, String? name, String? firstName, String? lastName, String? email, String? url, String? description, String? link, String? locale, String? nickname, String? slug, String? registeredDate, List? roles, String? password, Map< String, dynamic> ? capabilities, Map<String, dynamic> ? extraCapabilities, Map<String, dynamic> ? avatarUrls, dynamic meta}) → User -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → String -
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object o) → bool -
The equality operator.
override