updateMyProfileImage method
Implementation
@override
Future<dynamic> updateMyProfileImage(String image) async {
//updateProfileImage
dynamic profileResponse;
try {
profileResponse = await mirrorFlyMethodChannel
.invokeMethod('updateMyProfileImage', {"image": image});
debugPrint("updateMyProfileImage Result ==> $profileResponse");
return profileResponse;
} on PlatformException catch (e) {
debugPrint("Platform Exception ===> $e");
rethrow;
} on Exception catch (error) {
debugPrint("Exception ==> $error");
rethrow;
}
}