enableDisableHideLastSeen method

  1. @override
Future<bool?> enableDisableHideLastSeen(
  1. bool enable
)
override

Implementation

@override
Future<bool?> enableDisableHideLastSeen(bool enable) async {
  bool? res;
  try {
    res = await mirrorFlyMethodChannel.invokeMethod<bool>('enableDisableHideLastSeen', {"enable": enable});
    return res;
  } on PlatformException catch (e) {
    LogMessage.d("Platform Exception =", " $e");
    rethrow;
  } on Exception catch (error) {
    LogMessage.d("Exception ", " $error");
    rethrow;
  }
}