Skip to content

Commit 5881b3d

Browse files
committed
prepare nnbd
1 parent a9fafc6 commit 5881b3d

File tree

4 files changed

+7
-6
lines changed

4 files changed

+7
-6
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 2.2.0-nullsafety.0 - TODO
2+
- Migrate this package to null safety.
3+
- Sdk constraints: `>=2.12.0-0 <3.0.0` based on beta release guidelines.
4+
15
## 2.1.1 - Oct 30, 2020
26

37
- Add `RxReduxStore.dispatchMany(Stream<A>)`: Dispatch a `Stream` of actions to store.

lib/src/redux_store_stream_transformer.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ class ReduxStoreStreamTransformer<A, S> extends StreamTransformerBase<A, S> {
175175
actionStream,
176176
),
177177
subscriptionUpstream,
178-
subscriptionActionController
178+
subscriptionActionController,
179179
];
180180
}
181181

lib/src/wrapper_action.dart

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,7 @@ abstract class ActionType {
1919
if (this is _External) {
2020
return '↓';
2121
}
22-
if (this is _SideEffect) {
23-
return '⟳${(this as _SideEffect).index}';
24-
}
25-
throw StateError('What is $this');
22+
return '⟳${(this as _SideEffect).index}';
2623
}
2724
}
2825

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: rx_redux
22
description: Redux implementation based on Dart Stream, with the power of RxDart. Reactive redux store for Dart & Flutter.
3-
version: 2.1.1
3+
version: 2.2.0-nullsafety.0
44
author: Petrus Nguyễn Thái Học <[email protected]>
55
homepage: https://github.com/hoc081098/rx_redux.git
66
repository: https://github.com/hoc081098/rx_redux.git

0 commit comments

Comments
 (0)