removeUserFromBlockList method
- String username
Removes the contact from the block list.
Param username
The contact to be removed from the block list.
Throws A description of the exception. See ChatError.
Implementation
Future<void> removeUserFromBlockList(String username) async {
Map req = {'username': username};
Map result = await _channel.invokeMethod(
ChatMethodKeys.removeUserFromBlockList, req);
try {
ChatError.hasErrorFromResult(result);
} on ChatError catch (e) {
throw e;
}
}