toJson method
Implementation
Map<String, dynamic> toJson() => {
"status": status == null ? null : status,
"message": message == null ? null : message,
"data": data == null
? null
: List<dynamic>.from(data!.map((x) => x.toJson())),
};