declineCall method
This method is used to decline the call.
Implementation
@override
Future<bool?> declineCall() async {
bool? res;
try {
res = await mirrorFlyCallMethodChannel.invokeMethod('declineCall');
LogMessage.d('declineCall', '$res');
return res;
} on PlatformException catch (e) {
LogMessage.d("Platform Exception =", " $e");
rethrow;
} on Exception catch (error) {
LogMessage.d("Exception ", " $error");
rethrow;
}
}