AquaticSimpleConverter class

Simply use this to create an Aquatic converter by declaring a function instead of extending the AquaticConverter class

Inheritance

Constructors

AquaticSimpleConverter(ConvertFunction convertFunction, {SkipFunction? skipFunction, bool checkFileExtension = false, List<String>? allowedFileExtensions, bool checkContentType = false, List<ContentType>? allowedContentTypes})

Properties

allowedContentTypes List<ContentType>
finalinherited
allowedFileExtensions List<String>
finalinherited
checkContentType bool
final
checkFileExtension bool
final
convertFunction ConvertFunction
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
skipFunction SkipFunction
final

Methods

containsContentType(ContentType? type) bool
inherited
containsFileExtension(String path) bool
inherited
convert(AquaticEntity entity) Future<AquaticEntity>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited