removeGroupMembers method

Future<void> removeGroupMembers (
  1. {@required String id,
  2. @required List<String> usernames,
  3. 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;
}