fromFileSync static method
Implementation
static MultipartFile fromFileSync(
  String filePath, {
  String? filename,
  DioMediaType? contentType,
  final Map<String, List<String>>? headers,
}) {
  return multipartFileFromPathSync(
    filePath,
    filename: filename,
    contentType: contentType,
    headers: headers,
  );
}