name property

String? name

Gets the crop type as a String.

Implementation

String? get name => {
      CropType.top: 'top',
      CropType.bottom: 'bottom',
      CropType.left: 'left',
      CropType.right: 'right',
      CropType.center: 'center',
    }[this];