There was an error while loading. Please reload this page.
1 parent 06f9f2f commit d30c16fCopy full SHA for d30c16f
pkgs/test_api/lib/src/utils.dart
@@ -241,14 +241,6 @@ Stream<T> inCompletionOrder<T>(Iterable<CancelableOperation<T>> operations) {
241
return controller.stream;
242
}
243
244
-/// Runs [fn] and discards its return value.
245
-///
246
-/// This is useful for making a block of code async without forcing the
247
-/// containing method to return a future.
248
-void invoke(void Function() fn) {
249
- fn();
250
-}
251
-
252
/// Returns a random base64 string containing [bytes] bytes of data.
253
///
254
/// [seed] is passed to [math.Random].
0 commit comments