deleteContact method

  1. @override
Future<void> deleteContact()
override

Implementation

@override
Future<void> deleteContact() async {
  final contactIdentifier =
      _clientInstanceIdToContactIdentifierBox.get(_clientInstanceKey);
  await _clientInstanceIdToContactIdentifierBox.delete(_clientInstanceKey);
  await _box.delete(contactIdentifier);
}