blockOrUnblockAtContact function
blocks/unblocks atContact
based on boolean blockAction
if blockAction
is true
, atContact
will be blocked.
Implementation
Future<bool> blockOrUnblockAtContact(
AtContact atContact, bool blockAction) async {
return await ContactService()
.blockUnblockContact(contact: atContact, blockAction: blockAction);
}