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 44
55- Updated http library to '>=0.13.0 <2.0.0'
66- 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.
79
810## 1.1.0
911
Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ bool isNotNull<T>(T? x) => x != null;
5555/// ```
5656/// id := λx.x where x: bool ≡ bool isTrue(bool x) => x;
5757/// ```
58- const isTrue = identity < bool > ;
58+ bool isTrue ( bool x) => x ;
5959
6060/// Tests whether the given boolean argument [x] is false.
6161///
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ documentation: https://docs.rollbar.com/docs/flutter#dart
66repository : https://github.com/rollbar/rollbar-flutter
77
88environment :
9- sdk : ' >=2.17.0 <3 .0.0'
9+ sdk : ' >=2.17.0 <4 .0.0'
1010
1111dependencies :
1212 http : ' >=0.13.0 <2.0.0'
Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ void main() {
5858 expect (payloadRecords.length, ++ recordsCount);
5959 }
6060
61- for (final record in payloadRecords.map (identity )) {
61+ for (final record in payloadRecords.map ((x) => x )) {
6262 expect (payloadRecords.remove (record), isTrue);
6363 expect (payloadRecords.record (id: record.id), isNull);
6464 expect (payloadRecords.length, -- recordsCount);
@@ -152,7 +152,7 @@ void main() {
152152 expect (payloadRecords.length, 16 );
153153
154154 final transformResult = payloadRecords.map (records.contains);
155- expect (transformResult.all (identity ), isTrue);
155+ expect (transformResult.all ((x) => x ), isTrue);
156156
157157 for (final record in payloadRecords) {
158158 expect (records.contains (record), isTrue);
Original file line number Diff line number Diff line change 33## 1.3.2
44
55- Updated http library to '>=0.13.0 <2.0.0'
6+ - Updated sdk constraint to '>=2.17.0 <4.0.0'
67- Fixed usage of unsafe_html which was removed in Dart 3.7.0.
78
89## 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
66repository : https://github.com/rollbar/rollbar-flutter
77
88environment :
9- sdk : ' >=2.17.0 <3 .0.0'
9+ sdk : ' >=2.17.0 <4 .0.0'
1010
1111dependencies :
1212 http : ' >=0.13.0 <2.0.0'
You can’t perform that action at this time.
0 commit comments