StateEncoder<State> typedef
StateEncoder<State> =
String Function(State state)
Interface for custom State encoding logic Converts a State instance into a string suitable for sending to devtools
Implementation
typedef StateEncoder<State> = String Function(State state);