From File
static Future<MultipartFile> fromFile(File file) async { return MultipartFile.fromFile( file.path, filename: path.basename(file.path), ); }