insertNewProfileStatus method
This method is used to insert new profile status.
Implementation
@override
Future<bool?> insertNewProfileStatus(String status) async {
bool? profileResponse;
try {
profileResponse = await mirrorFlyMethodChannel
.invokeMethod<bool>('insertNewProfileStatus', {"status": status});
LogMessage.d("insertNewProfileStatus Result ", " $profileResponse");
return profileResponse;
} on PlatformException catch (e) {
LogMessage.d("Platform Exception =", " $e");
rethrow;
} on Exception catch (error) {
LogMessage.d("Exception ", " $error");
rethrow;
}
}