waitUntilAllGetLast method

Future<TestInfo<St>> waitUntilAllGetLast(
  1. List<Type> actionTypes, {
  2. bool ignoreIni = true,
  3. int? timeoutInSeconds,
})

Runs until all actions of the given types are dispatched and finish, in any order. Returns the info after they all finish. Ignores other actions types.

Implementation

Future<TestInfo<St>> waitUntilAllGetLast(
  List<Type> actionTypes, {
  bool ignoreIni = true,
  int? timeoutInSeconds,
}) async {
  timeoutInSeconds ??= defaultTimeout;

  var infoList = await waitUntilAll(
    actionTypes,
    ignoreIni: ignoreIni,
    timeoutInSeconds: timeoutInSeconds,
  );

  return infoList.last;
}