toMap method

Map<String, dynamic> toMap()

Implementation

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