Is there a way to implement generic action using TypedReducer? I see there's an example using a switch statement, but not for the TypedReducer https://pub.dev/documentation/redux/latest/redux/TypedReducer-class.html