availableFeaturesMapToJson function
Converts a JSON string to a JSON string representation of an AvailableFeatures object.
This function is a convenience wrapper that first converts a JSON string to an AvailableFeatures object and then back to a JSON string. It is useful for ensuring the JSON string represents a valid AvailableFeatures object.
str
: The JSON string to be converted.
Returns a JSON string representation of the AvailableFeatures object.
Implementation
String availableFeaturesMapToJson(String str) =>
availableFeaturesToJson(AvailableFeatures.fromJson(json.decode(str)));