searchGroups method Null safety

Future<V2TimValueCallback<List<V2TimGroupInfo>>> searchGroups(
  1. {required V2TimGroupSearchParam searchParam}
)

Search group information (requires you to purchase the flagship package)

Parameters: searchParam Search parameters (V2TimGroupSearchParam)

The SDK will search for all groups whose group name is included in the keyword list keywordList and return the group information list. The keyword list supports up to 5. 
web does not support keyword search, please use searchGroupByID

Implementation

Future<V2TimValueCallback<List<V2TimGroupInfo>>> searchGroups({
  required V2TimGroupSearchParam searchParam,
}) async {
  return ImFlutterPlatform.instance.searchGroups(searchParam: searchParam);
}