MessageFormatter<St> typedef
MessageFormatter<St> =
String Function(St? state, ReduxAction<St> action, bool ini, int dispatchCount, DateTime timestamp)
A function that formats the message that will be logged:
final log = Log(formatter: onlyLogActionFormatter);
var store = new Store(initialState: 0, actionObservers:log, stateObservers: ...
);
Implementation
typedef MessageFormatter<St> = String Function(
St? state,
ReduxAction<St> action,
bool ini,
int dispatchCount,
DateTime timestamp,
);