availableFeaturesFromJson function

AvailableFeatures availableFeaturesFromJson(
  1. String str
)

Converts a JSON string into an AvailableFeatures object.

This function decodes the given JSON string and uses the fromJson constructor of the AvailableFeatures class to create an instance.

Parameters: str - A JSON string representation of an AvailableFeatures object.

Returns: An instance of AvailableFeatures populated with data from the given JSON string.

Implementation

AvailableFeatures availableFeaturesFromJson(String str) =>
    AvailableFeatures.fromJson(json.decode(str));