Profile.fromLegacyJson constructor
Parses the profile from a legacy JSON response. This is commonly used for unauthenticated profile queries.
Implementation
Profile.fromLegacyJson(Map<String, dynamic> json)
: _id = json['id'],
_name = json['name'],
_textures = json['properties'][0]['value'],
_signatures = json['properties'][0]['signature'] ?? '' {
_capes = List.empty();
_skins = List.empty();
}