addGroupAdmins method

Future<void> addGroupAdmins ({@required String groupId @required List<String> usernames, String appKey })

Implementation

Future<void> addGroupAdmins({
  @required String groupId,
  @required List<String> usernames,
  String appKey,
}) async {
  await _channel.invokeMethod('addGroupAdmins',{
    'groupId': groupId,
    'usernames': usernames,
    'appKey': appKey
  }..removeWhere((key, value) => value == null));
  return;
}