File tree Expand file tree Collapse file tree 6 files changed +8
-5
lines changed Expand file tree Collapse file tree 6 files changed +8
-5
lines changed Original file line number Diff line number Diff line change 4
4
5
5
- Updated http library to '>=0.13.0 <2.0.0'
6
6
- Updated uuid library to '^4.1.0'
7
+ - Updated sdk constraint to '>=2.17.0 <4.0.0'
8
+ - Fixed warnings about the value of 'identity' not being used.
7
9
8
10
## 1.1.0
9
11
Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ bool isNotNull<T>(T? x) => x != null;
55
55
/// ```
56
56
/// id := λx.x where x: bool ≡ bool isTrue(bool x) => x;
57
57
/// ```
58
- const isTrue = identity < bool > ;
58
+ bool isTrue ( bool x) => x ;
59
59
60
60
/// Tests whether the given boolean argument [x] is false.
61
61
///
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ documentation: https://docs.rollbar.com/docs/flutter#dart
6
6
repository : https://github.com/rollbar/rollbar-flutter
7
7
8
8
environment :
9
- sdk : ' >=2.17.0 <3 .0.0'
9
+ sdk : ' >=2.17.0 <4 .0.0'
10
10
11
11
dependencies :
12
12
http : ' >=0.13.0 <2.0.0'
Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ void main() {
58
58
expect (payloadRecords.length, ++ recordsCount);
59
59
}
60
60
61
- for (final record in payloadRecords.map (identity )) {
61
+ for (final record in payloadRecords.map ((x) => x )) {
62
62
expect (payloadRecords.remove (record), isTrue);
63
63
expect (payloadRecords.record (id: record.id), isNull);
64
64
expect (payloadRecords.length, -- recordsCount);
@@ -152,7 +152,7 @@ void main() {
152
152
expect (payloadRecords.length, 16 );
153
153
154
154
final transformResult = payloadRecords.map (records.contains);
155
- expect (transformResult.all (identity ), isTrue);
155
+ expect (transformResult.all ((x) => x ), isTrue);
156
156
157
157
for (final record in payloadRecords) {
158
158
expect (records.contains (record), isTrue);
Original file line number Diff line number Diff line change 3
3
## 1.3.2
4
4
5
5
- Updated http library to '>=0.13.0 <2.0.0'
6
+ - Updated sdk constraint to '>=2.17.0 <4.0.0'
6
7
- Fixed usage of unsafe_html which was removed in Dart 3.7.0.
7
8
8
9
## 1.3.1
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ documentation: https://docs.rollbar.com/docs/flutter#dart
6
6
repository : https://github.com/rollbar/rollbar-flutter
7
7
8
8
environment :
9
- sdk : ' >=2.17.0 <3 .0.0'
9
+ sdk : ' >=2.17.0 <4 .0.0'
10
10
11
11
dependencies :
12
12
http : ' >=0.13.0 <2.0.0'
You can’t perform that action at this time.
0 commit comments