You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm currently using a custom BlocObserver and in the onChange method I log change.toString(). This gives me the current and next states, which works — but it's hard to read and not very useful for debugging complex states.
I'm using freezed, so both states are deeply nested and verbose when printed.
Would it be possible for the Change class or BlocObserver to provide a more structured representation? For example, a method that returns a Map<String, dynamic> diff, or a utility to format state transitions more clearly?