NetLensFormDataFile class

Definition of data holder of form data file.

Constructors

NetLensFormDataFile(String? fileName, String contentType, int length, {String? name, Stream<List<int>> read()?})
const

Properties

canRead → bool
Returns true when the content of the file can be sent again.
no setter
contentType → String
final
fileName → String?
final
hashCode → int
The hash code for this object.
no setterinherited
length → int
final
name → String?
Name of the form field which holds the file. Null when the client didn't tell it.
final
read → Stream<List<int>> Function()?
Reads the content of the file again, so the request can be sent again. Null when NetLens didn't keep the content.
final
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