final
This commit is contained in:
@@ -2,10 +2,10 @@ import 'package:redux/redux.dart';
|
||||
|
||||
import '../actions.dart';
|
||||
|
||||
final deviceIdReducer = combineReducers<String>([
|
||||
TypedReducer<String, UpdateDeviceId>(_updateDeviceId)
|
||||
final deviceIdReducer = combineReducers<String?>([
|
||||
TypedReducer<String?, UpdateDeviceId>(_updateDeviceId)
|
||||
]);
|
||||
|
||||
String _updateDeviceId(String deviceId, action) {
|
||||
String _updateDeviceId(String? deviceId, action) {
|
||||
return action.deviceId;
|
||||
}
|
||||
Reference in New Issue
Block a user