setGroupMemberSilence method

Future<void> setGroupMemberSilence ({@required String groupId, @required bool isSilence, @required String username, String appKey })

Implementation

Future<void> setGroupMemberSilence({
  @required String groupId,
  @required bool isSilence,
  @required String username,
  String appKey,
}) async {
  await _channel.invokeMethod('setGroupMemberSilence',
  {
    'groupId': groupId,
    'username': username,
    'isSilence': isSilence,
    'appKey': appKey,
  }..removeWhere((key, value) => value == null));

  return;
}