UserBody class
- Inheritance
-
- Object
- BodyDataModel
- UserBody
Constructors
-
UserBody({String? email, String? password, String? type, UserDetailBody? detail, String? storeId, List<
String> ? stores, List<UserRoleBody> ? roles})
Properties
- detail ↔ UserDetailBody?
-
getter/setter pair
- email ↔ String?
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- password ↔ String?
-
getter/setter pair
-
roles
↔ List<
UserRoleBody> ? -
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- storeId ↔ String?
-
getter/setter pair
-
stores
↔ List<
String> ? -
getter/setter pair
- type ↔ String?
-
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toFormData(
) → Future< FormData?> ? -
Converts the body data model to a FormData object.
override
-
toPostJson(
) → Map< String, dynamic> ? -
Converts the body data model to a JSON object for a POST request.
override
-
toPutJson(
) → Map< String, dynamic> ? -
Converts the body data model to a JSON object for a PUT request.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited