UserList class
UserList model class.
Constructors
-
UserList({List<
ProfileDetails> ? data, bool? status, int? totalPages}) - Initializes a new instance of the UserList class.
-
UserList.fromJson(Map<
String, dynamic> json) -
Converts a UserList object into a map.
factory
Properties
-
data
↔ List<
ProfileDetails> ? -
The list of user profiles.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- message ↔ String?
-
The message related to the user list.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- status ↔ bool?
-
The status of the user list.
getter/setter pair
- totalPages ↔ int?
-
The total number of pages in the user list.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Converts a UserList object into a map.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited