Analyzer error in Expect library fixed
diff --git a/Utils/async_utils.dart b/Utils/async_utils.dart
index 7e2c19f..ccc2c14 100644
--- a/Utils/async_utils.dart
+++ b/Utils/async_utils.dart
@@ -1,10 +1,10 @@
-part of Expect;
+ part of Expect;
const ONE_MS = const Duration(milliseconds: 1);
typedef CreateStreamFunction = Stream<T> Function<T>(Iterable<T> values);
typedef CreateStreamWithErrorsFunction =
- Stream<T> Function<T>(Iterable<T> values, {bool Function(T element) isError});
+ Stream<T> Function<T>(Iterable<T> values, {bool Function(T element)? isError});
Duration durationMs(delay) {
return delay == null ? Duration.zero : ONE_MS * delay;