toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
    json[r'xp'] = this.xp;
    json[r'gold'] = this.gold;
    json[r'drops'] = this.drops;
    json[r'turns'] = this.turns;
    json[r'monster_blocked_hits'] = this.monsterBlockedHits;
    json[r'player_blocked_hits'] = this.playerBlockedHits;
    json[r'logs'] = this.logs;
    json[r'result'] = this.result;
  return json;
}