InputFile.fromPath constructor

InputFile.fromPath({
  1. required String path,
  2. String? filename,
  3. String? contentType,
})

Provide a file using path

Implementation

factory InputFile.fromPath({
  required String path,
  String? filename,
  String? contentType,
}) {
  return InputFile._(
    path: path,
    filename: filename,
    contentType: contentType,
  );
}