toJson method
to json map
Implementation
Map<String, dynamic> toJson() {
Map<String, dynamic> result = {
"status_code": statusCode,
"msg": msg?.toJson(),
};
if (ret != null) {
result.putIfAbsent("ret", () => ret?.toJson());
}
return result;
}