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