getGroupsWithoutNotice method

Future<List<String>?> getGroupsWithoutNotice()

获取免打扰的群组列表id

Implementation

Future<List<String>?> getGroupsWithoutNotice() async {
  Map result = await _channel
      .invokeMethod(EMSDKMethod.getGroupsWithoutPushNotification);
  EMError.hasErrorFromResult(result);
  var list =
      result[EMSDKMethod.getGroupsWithoutPushNotification]?.cast<String>();
  return list;
}