assertAsync function
Implementation
void assertAsync({
required FutureOr<dynamic> Function() function,
}) {
assert(() {
Future(function);
return true;
}());
}
void assertAsync({
required FutureOr<dynamic> Function() function,
}) {
assert(() {
Future(function);
return true;
}());
}