HistoryBuilder(RootState<T> root, [Map<State, Iterable<State>> entries = const {}]) : super(root, Map<State<T>, Iterable<State<T>>>.of(entries.cast()));