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