FileFieldWithFile class

Inheritance

Constructors

FileFieldWithFile({required File file, String? filename, MediaType? contentType})

Properties

contentType → MediaType?
finalinherited
file → File
final
filename → String?
finalinherited
hashCode → int
The hash code for this object.
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
toJson() → Map<String, dynamic>?
This method is most commonly used to convert FileField to JSON in order to prepare it for caching.
inherited
toMultipartFile(String field) → Future<MultipartFile>
Convert FileField to multipart file
override
toString() → String
A string representation of this object.
inherited

Operators

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