addUsersToBlacklist method

Future<void> addUsersToBlacklist ({@required List<String> usernameArray, String appKey })

Implementation

Future<void> addUsersToBlacklist({
    @required List<String> usernameArray,
    String appKey
  }) async {

  await _channel.invokeMethod('addUsersToBlacklist',
    {
      'usernameArray': usernameArray,
      'appKey': appKey
    }..removeWhere((key,value) => value == null));
  return;
}