getGroupsWithoutNotice method Null safety
- @Deprecated("Switch to using EMPushConfig#noDisturbGroupsFromServer instead.")
@Deprecated("Switch to using EMPushConfig#noDisturbGroupsFromServer instead.")
Implementation
@Deprecated("Switch to using EMPushConfig#noDisturbGroupsFromServer instead.")
Future<List<String>?> getGroupsWithoutNotice() async {
Map result = await _channel
.invokeMethod(ChatMethodKeys.getGroupsWithoutPushNotification);
EMError.hasErrorFromResult(result);
var list =
result[ChatMethodKeys.getGroupsWithoutPushNotification]?.cast<String>();
return list;
}