toJson method
Implementation
Map<String, Object?> toJson() {
final unstableFeatures = this.unstableFeatures;
return {
if (unstableFeatures != null)
'unstable_features': unstableFeatures.map((k, v) => MapEntry(k, v)),
'versions': versions.map((v) => v).toList(),
};
}