UserTraits class
- Inheritance
-
- Object
- JSONExtendableImpl
- UserTraits
- Annotations
-
- @JsonSerializable(explicitToJson: true, includeIfNull: false)
Constructors
-
UserTraits({Address? address, int? age, String? avatar, String? birthday, Company? company, String? createdAt, String? description, String? email, String? firstName, String? gender, String? id, String? lastName, String? name, String? phone, String? title, String? username, String? website, Map<
String, dynamic> ? custom}) -
UserTraits.fromJson(Map<
String, dynamic> json) -
factory
Properties
- address ↔ Address?
-
getter/setter pair
- age ↔ int?
-
getter/setter pair
- avatar ↔ String?
-
getter/setter pair
- birthday ↔ String?
-
getter/setter pair
- company ↔ Company?
-
getter/setter pair
- createdAt ↔ String?
-
getter/setter pair
-
custom
↔ Map<
String, dynamic> -
getter/setter pairinherited
- description ↔ String?
-
getter/setter pair
- email ↔ String?
-
getter/setter pair
- firstName ↔ String?
-
getter/setter pair
- gender ↔ String?
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- id ↔ String?
-
getter/setter pair
- lastName ↔ String?
-
getter/setter pair
- name ↔ String?
-
getter/setter pair
- phone ↔ String?
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- title ↔ String?
-
getter/setter pair
- username ↔ String?
-
getter/setter pair
- website ↔ 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.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited