JsonStateEncoder top-level property

StateEncoder JsonStateEncoder
getter/setter pair

A State encoder that converts a state instances to stringified JSON

Implementation

StateEncoder<dynamic> JsonStateEncoder = (dynamic state) => jsonEncode(state);