SdkFeatures.fromJson constructor
Deserializes SdkFeatures from a nullable JSON map.
Implementation
factory SdkFeatures.fromJson(Map<String, dynamic>? json) {
if (json == null) return const SdkFeatures();
return SdkFeatures(
feedback: json['feedback'] as bool? ?? true,
featureRequests: json['featureRequests'] as bool? ?? true,
roadmap: json['roadmap'] as bool? ?? true,
changelog: json['changelog'] as bool? ?? true,
);
}