availableFeaturesToJson function

String availableFeaturesToJson(
  1. AvailableFeatures data
)

Converts an AvailableFeatures object to a JSON string.

This function takes an AvailableFeatures object, converts it to a Map using the toJson method, and then encodes this Map as a JSON string.

data: The AvailableFeatures object to be converted.

Returns a JSON string representation of the AvailableFeatures object.

Implementation

String availableFeaturesToJson(AvailableFeatures data) =>
    json.encode(data.toJson());