availableFeaturesFromJson function
Converts a JSON string into an AvailableFeatures object.
This function decodes a JSON string to a Map, and then creates an
AvailableFeatures object from it using the fromJson
factory constructor.
str
: The JSON string to be converted.
Returns an AvailableFeatures object.
Implementation
AvailableFeatures availableFeaturesFromJson(String str) =>
AvailableFeatures.fromJson(json.decode(str));