removeGroupMembers method

Future<void> removeGroupMembers ({@required String id @required List<String> usernames, String appKey })

Implementation

Future<void> removeGroupMembers({
    @required String id,
    @required List<String> usernames,
    String appKey,
  }) async {

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

  return;
}