serialize static method

String serialize()

Serializes the current state to a JSON string.

Returns a JSON string representation of the persistent storage.

Implementation

static String serialize() => json.encode(_persistentStorage);