We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c148e42 commit b1ad898Copy full SHA for b1ad898
test/stdlib_checks.dart
@@ -9,6 +9,10 @@ import 'dart:convert';
9
import 'package:checks/checks.dart';
10
import 'package:http/http.dart' as http;
11
12
+extension ListChecks<T> on Subject<List<T>> {
13
+ Subject<T> operator [](int index) => has((l) => l[index], '[$index]');
14
+}
15
+
16
extension NullableMapChecks<K, V> on Subject<Map<K, V>?> {
17
void deepEquals(Map<Object?, Object?>? expected) {
18
if (expected == null) {
0 commit comments