AquaticSimpleConverter constructor

AquaticSimpleConverter(
  1. ConvertFunction convertFunction, {
  2. SkipFunction? skipFunction,
  3. bool checkFileExtension = false,
  4. List<String>? allowedFileExtensions,
  5. bool checkContentType = false,
  6. List<ContentType>? allowedContentTypes,
})

Implementation

AquaticSimpleConverter(
  this.convertFunction, {
  SkipFunction? skipFunction,
  this.checkFileExtension = false,
  List<String>? allowedFileExtensions,
  this.checkContentType = false,
  List<ContentType>? allowedContentTypes,
})  : skipFunction = skipFunction ?? _skipFunctionDefault,
      super(
        allowedFileExtensions: allowedFileExtensions,
        allowedContentTypes: allowedContentTypes,
      );