Upload image to API using Flutter and Dio
How can I send image to API in string format? This is the code where the data is sent in MultipartFile instance but data['avatar'] accepts string. So how can I do it? Please help me with this. static Future<Response> updateUserAccount({…