availableFeaturesMapToJson function
Converts a JSON string into a JSON string representation of an AvailableFeatures object.
This function is a convenience wrapper around availableFeaturesFromJson and availableFeaturesToJson. It decodes the given JSON string to an AvailableFeatures object and then encodes this object back into a JSON string.
Parameters:
str
- A JSON string representation of an AvailableFeatures object.
Returns: A JSON string representation of the AvailableFeatures object.
Implementation
String availableFeaturesMapToJson(String str) =>
availableFeaturesToJson(AvailableFeatures.fromJson(json.decode(str)));