toJson method
Implementation
Map<String, dynamic> toJson() {
final Map<String, dynamic> map = <String, dynamic>{};
if (this.data != null) {
map['data'] = this.data;
}
map['message'] = message;
map['status'] = status;
map['code'] = code;
map['timestamp'] = timestamp;
return map;
}