AddonVersionInfo.fromJson constructor
Implementation
factory AddonVersionInfo.fromJson(Map<String, dynamic> json) {
return AddonVersionInfo(
addonVersion: json['addonVersion'] as String?,
architecture: (json['architecture'] as List?)
?.whereNotNull()
.map((e) => e as String)
.toList(),
compatibilities: (json['compatibilities'] as List?)
?.whereNotNull()
.map((e) => Compatibility.fromJson(e as Map<String, dynamic>))
.toList(),
);
}