Open AmriZakariya opened 2 years ago
Hello please how can i sync toJson function so that return file insted of Future
toJson: (value) async { MultipartFile file = await MultipartFile.fromFile(value?.path ?? "",filename: value?.name ?? ""); return file ;
},
https://github.com/GiancarloCode/form_bloc/pull/312#issuecomment-1164240179
Hello please how can i sync toJson function so that return file insted of Future
toJson: (value) async { MultipartFile file = await MultipartFile.fromFile(value?.path ?? "",filename: value?.name ?? ""); return file ;