uploadProfilePicture static method
dynamic
uploadProfilePicture(
- FormData formdata
Implementation
static uploadProfilePicture(FormData formdata) async {
String endpoint = "${AppUrls.baseUrlVSMS}/image/v1/upload";
final response = await _dio!.post(endpoint, data: formdata);
return response.data;
}