PickerExceptionType enum

Types of errors, commonly used to generate error toast messages later

Inheritance

Constructors

PickerExceptionType()
const

Values

unsupportedFile → const PickerExceptionType

This file type is not allowed

maxFileSize → const PickerExceptionType

File size limit

maxPixelSize → const PickerExceptionType

Pixel size limit

compression → const PickerExceptionType

Error in file compression

fileSizeRead → const PickerExceptionType

Error in reading file size

processing → const PickerExceptionType

File processing error

duplicateFile → const PickerExceptionType

File already selected

duplicateURL → const PickerExceptionType

URL already added

invalidUrl → const PickerExceptionType

Invalid URL added

maxLimitReached → const PickerExceptionType

Maximum total attachment size reached

custom → const PickerExceptionType

Used for custom error message

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Constants

values → const List<PickerExceptionType>
A constant List of the values in this enum, in order of their declaration.
[unsupportedFile, maxFileSize, maxPixelSize, compression, fileSizeRead, processing, duplicateFile, duplicateURL, invalidUrl, maxLimitReached, custom]