toJson method
Converts this FeaturesConfig instance to a JSON map.
This method serializes the FeaturesConfig object into a JSON
representation that can be easily stored or transmitted. null values
are included in the JSON output.
Returns a Map containing the 'featureOneEnabled', 'featureTwoEnabled',
'enableBetaFeatures', and 'featureFlag' keys and their corresponding
values (including null values).
Implementation
Map<String, dynamic> toJson() => {
'featureOneEnabled': featureOneEnabled,
'featureTwoEnabled': featureTwoEnabled,
'enableBetaFeatures': enableBetaFeatures,
'featureFlag': featureFlag,
};