toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
if (this.status != null) {
json[r'status'] = this.status;
} else {
json[r'status'] = null;
}
if (this.errorMsg != null) {
json[r'error_msg'] = this.errorMsg;
} else {
json[r'error_msg'] = null;
}
if (this.data != null) {
json[r'data'] = this.data;
} else {
json[r'data'] = null;
}
return json;
}