reducer library Null safety

Typedefs

Reducer<S> = FutureOr<S> Function(dynamic action, S previousState)