toJson method
Implementation
Map<String, dynamic> toJson() {
final Map<String, dynamic> data = Map<String, dynamic>();
data['low_hp_preference'] = this.lowHpPreference;
data['high_hp_preference'] = this.highHpPreference;
if (this.moveBattleStyle != null) {
data['move_battle_style'] = this.moveBattleStyle!.toJson();
}
return data;
}