genderType property
- @JsonKey(name: 'genderType', fromJson: decodeDestinyGender, toJson: encodeDestinyGender)
getter/setter pair
Mostly for historical purposes at this point, this is an enumeration for the character's Gender. It'll be preferable in the general case to look up the related definition: but for some people this was too convenient to remove. And yeah, it's an enumeration and not a boolean. Fight me.
Implementation
@JsonKey(name:'genderType',fromJson:decodeDestinyGender,toJson:encodeDestinyGender)
DestinyGender? genderType;