toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
json[r'position'] = this.position;
json[r'name'] = this.name;
json[r'account'] = this.account;
json[r'status'] = this.status;
json[r'skin'] = this.skin;
json[r'level'] = this.level;
json[r'total_xp'] = this.totalXp;
json[r'mining_level'] = this.miningLevel;
json[r'mining_total_xp'] = this.miningTotalXp;
json[r'woodcutting_level'] = this.woodcuttingLevel;
json[r'woodcutting_total_xp'] = this.woodcuttingTotalXp;
json[r'fishing_level'] = this.fishingLevel;
json[r'fishing_total_xp'] = this.fishingTotalXp;
json[r'weaponcrafting_level'] = this.weaponcraftingLevel;
json[r'weaponcrafting_total_xp'] = this.weaponcraftingTotalXp;
json[r'gearcrafting_level'] = this.gearcraftingLevel;
json[r'gearcrafting_total_xp'] = this.gearcraftingTotalXp;
json[r'jewelrycrafting_level'] = this.jewelrycraftingLevel;
json[r'jewelrycrafting_total_xp'] = this.jewelrycraftingTotalXp;
json[r'cooking_level'] = this.cookingLevel;
json[r'cooking_total_xp'] = this.cookingTotalXp;
json[r'alchemy_level'] = this.alchemyLevel;
json[r'alchemy_total_xp'] = this.alchemyTotalXp;
json[r'gold'] = this.gold;
return json;
}