toJson method Null safety
override
Implementation
@override
Map<String, dynamic> toJson() => {
"success": success,
"message": message,
"data": data,
};
@override
Map<String, dynamic> toJson() => {
"success": success,
"message": message,
"data": data,
};