parse_stringify_toggles library

Functions

parseToggles(String body) Map<String, ToggleConfig>
Parses toggles from the server or local storage so that they can be used as structured data
stringifyToggles(Map<String, ToggleConfig> toggles) String
Serializes structured toggles into a String before we send it to the server of local storage
toJSON(String toggleName, ToggleConfig toggle) Map<String, dynamic>