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

bytes List<int>?
latefinal
contentType String?
final
filename String?
final
hashCode int
The hash code for this object.
no setterinherited
path String?
latefinal
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