ProfileModel class
Represents the profile data.
Constructors
- ProfileModel({ProfileData? data, bool? status})
- Initializes a new instance of the ProfileModel class.
-
ProfileModel.fromJson(Map<
String, dynamic> json) -
Converts a JSON object into a ProfileModel instance.
factory
Properties
- data ↔ ProfileData?
-
The profile data.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- status ↔ bool?
-
The status of the profile.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Converts a ProfileModel instance into a JSON object.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited