toMap method
Implementation
Map<String, dynamic> toMap() {
return {
'cropRect': cropRect?.toMap(),
'enableCrop': enableCrop,
'aspectRatio': aspectRatio,
'freeform': freeform,
'showGrid': showGrid,
'lockAspectRatio': lockAspectRatio,
};
}