contactSyncStateValue method

  1. @override
Future<bool> contactSyncStateValue()
override

Queries the current contact sync state.

Implementation

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