AddonInfo.fromJson constructor
Implementation
factory AddonInfo.fromJson(Map<String, dynamic> json) {
return AddonInfo(
addonName: json['addonName'] as String?,
addonVersions: (json['addonVersions'] as List?)
?.whereNotNull()
.map((e) => AddonVersionInfo.fromJson(e as Map<String, dynamic>))
.toList(),
type: json['type'] as String?,
);
}