ProfileUpdate class
Represents the update information for a user profile.
This class encapsulates the data related to a profile update, including the updated data, a message, and the status of the update.
Properties: data - The updated data for the profile as a ProData object. message - A message related to the profile update. status - The status of the profile update as a boolean.
Constructors: ProfileUpdate - Initializes a new instance of the ProfileUpdate class with optional parameters for updated data, message, and status.
Constructors
- ProfileUpdate({ProData? data, String? message, bool? status})
- Initializes a new instance of the ProfileUpdate class.
-
ProfileUpdate.fromJson(Map<
String, dynamic> json) -
Converts a map into a ProfileUpdate object.
factory
Properties
- data ↔ ProData?
-
The updated data for the profile.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- message ↔ String?
-
A message related to the profile update.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- status ↔ bool?
-
The status of the profile update.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Converts a ProfileUpdate object into a map.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited