Skip to content

Commit d30c16f

Browse files
authored
Drop invoke utility (#1148)
Usages were removed in #1119 Since there have since been version constraint bumps it is now safe to remove entirely.
1 parent 06f9f2f commit d30c16f

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

pkgs/test_api/lib/src/utils.dart

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -241,14 +241,6 @@ Stream<T> inCompletionOrder<T>(Iterable<CancelableOperation<T>> operations) {
241241
return controller.stream;
242242
}
243243

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-
252244
/// Returns a random base64 string containing [bytes] bytes of data.
253245
///
254246
/// [seed] is passed to [math.Random].

0 commit comments

Comments
 (0)