toJson method
Converts a ProfileUpdate instance into a JSON object.
Implementation
Map<String, dynamic> toJson() => {
"data": data ?? data?.toJson(),
"message": message,
"status": status,
};
Converts a ProfileUpdate instance into a JSON object.
Map<String, dynamic> toJson() => {
"data": data ?? data?.toJson(),
"message": message,
"status": status,
};