InputFile class
Helper class to handle files.
Constructors
-
InputFile({String? path, String? filename, String? contentType, List<
int> ? bytes}) -
InputFile.fromBytes({required List<
int> bytes, required String filename, String? contentType}) -
Provide a file using
bytes
factory - InputFile.fromPath({required String path, String? filename, String? contentType})
-
Provide a file using
path
factory
Properties
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