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