MythicKeystoneAffixesIndexResponse.fromJson constructor
Creates an instance of MythicKeystoneAffixesIndexResponse from a JSON map.
Implementation
factory MythicKeystoneAffixesIndexResponse.fromJson(
Map<String, dynamic> json,
) => MythicKeystoneAffixesIndexResponse(
links: Links.fromJson(json['_links']),
affixes: json['affixes'] == null
? <KeyNameIdData>[]
: List<KeyNameIdData>.from(
json['affixes']!.map((dynamic x) => KeyNameIdData.fromJson(x)),
),
);