toJson method
Implementation
Map toJson() {
Map _result = {};
if (exception != null) _result.addAll({"exception": exception!.toJson()});
if (image != null) _result.addAll({"image": image!.toJson()});
return _result;
}
Map toJson() {
Map _result = {};
if (exception != null) _result.addAll({"exception": exception!.toJson()});
if (image != null) _result.addAll({"image": image!.toJson()});
return _result;
}