exportState method

Stream<List> exportState ()

return latest stream of action, state array.

Example

store.exportState().listen((arr) {
   print((arr[0] as Action).type);
   print(arr[1]);
 });

Implementation

Stream<List<dynamic>> exportState() =>
    _dispatcher.withLatestFrom(_store, (t, s) => [t, s]);