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