deleteProfileStatus method
Deletes a profile status.
Implementation
@override
Future<bool?> deleteProfileStatus(
String id, String status, bool isCurrentStatus) async {
bool? res;
try {
res = await mirrorFlyMethodChannel
.invokeMethod<bool>('deleteProfileStatus', {
"id": id,
"status": status,
"isCurrentStatus": isCurrentStatus,
});
return res;
} on PlatformException catch (e) {
LogMessage.d("Platform Exception =", " $e");
rethrow;
} on Exception catch (error) {
LogMessage.d("Exception ", " $error");
rethrow;
}
}