updateMyProfile method
Implementation
@override
Future<dynamic> updateMyProfile(String name, String email, String mobile, String status, String? image) async {
//updateProfile
dynamic profileResponse;
try {
profileResponse = await mirrorFlyMethodChannel
.invokeMethod('updateMyProfile', {"name": name, "email": email, "mobile": mobile, "status": status, "image": image});
LogMessage.d("updateMyProfile Result ", " $profileResponse");
return profileResponse;
} on PlatformException catch (e) {
LogMessage.d("Platform Exception =", " $e");
rethrow;
} on Exception catch (error) {
LogMessage.d("Exception ", " $error");
rethrow;
}
}