SPUploadFile class
A byte-backed multipart file that also works on Flutter Web.
No dart:io File is required. Pick/read the bytes in application code. Large streaming uploads are intentionally outside this initial API.
Constructors
Properties
- bytes → Uint8List
-
Immutable file contents.
final
- field → String
-
Form field name, for example
attachment.final - filename → String
-
Filename sent to the server, not a device path.
final
- 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
-
toMultipartFile(
) → MultipartFile - Creates a fresh multipart part for each request.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited