toJson method
Converts a ProfileModel object to a JSON map.
Implementation
Map<String, dynamic> toJson() => {
"data": data ?? data?.toJson(),
"status": status,
};
Converts a ProfileModel object to a JSON map.
Map<String, dynamic> toJson() => {
"data": data ?? data?.toJson(),
"status": status,
};