FileInput class abstract

An uploaded file the validator can check.

dox-core RequestFile implements it, so v.file() and the DTO file rules (@MaxSize, @Mimes, @Image) can read it.

Implementers

Constructors

FileInput()

Properties

extension → String
File extension from the file name, without the dot, like png.
no setter
hashCode → int
The hash code for this object.
no setterinherited
The first bytes of the file (up to FileTypes.headSize). The real file type comes from them.
no setter
length → int
Size in bytes.
no setter
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