toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final Map<String, dynamic> data = new Map<String, dynamic>();
  data['ability'] = this.ability;
  data['berry'] = this.berry;
  data['berry-firmness'] = this.berryFirmness;
  data['berry-flavor'] = this.berryFlavor;
  data['characteristic'] = this.characteristic;
  data['contest-effect'] = this.contestEffect;
  data['contest-type'] = this.contestType;
  data['egg-group'] = this.eggGroup;
  data['encounter-condition'] = this.encounterCondition;
  data['encounter-condition-value'] = this.encounterConditionValue;
  data['encounter-method'] = this.encounterMethod;
  data['evolution-chain'] = this.evolutionChain;
  data['evolution-trigger'] = this.evolutionTrigger;
  data['gender'] = this.gender;
  data['generation'] = this.generation;
  data['growth-rate'] = this.growthRate;
  data['item'] = this.item;
  data['item-attribute'] = this.itemAttribute;
  data['item-category'] = this.itemCategory;
  data['item-fling-effect'] = this.itemFlingEffect;
  data['item-pocket'] = this.itemPocket;
  data['language'] = this.language;
  data['location'] = this.location;
  data['location-area'] = this.locationArea;
  data['machine'] = this.machine;
  data['move'] = this.move;
  data['move-ailment'] = this.moveAilment;
  data['move-battle-style'] = this.moveBattleStyle;
  data['move-category'] = this.moveCategory;
  data['move-damage-class'] = this.moveDamageClass;
  data['move-learn-method'] = this.moveLearnMethod;
  data['move-target'] = this.moveTarget;
  data['nature'] = this.nature;
  data['pal-park-area'] = this.palParkArea;
  data['pokeathlon-stat'] = this.pokeathlonStat;
  data['pokedex'] = this.pokedex;
  data['pokemon'] = this.pokemon;
  data['pokemon-color'] = this.pokemonColor;
  data['pokemon-form'] = this.pokemonForm;
  data['pokemon-habitat'] = this.pokemonHabitat;
  data['pokemon-shape'] = this.pokemonShape;
  data['pokemon-species'] = this.pokemonSpecies;
  data['region'] = this.region;
  data['stat'] = this.stat;
  data['super-contest-effect'] = this.superContestEffect;
  data['type'] = this.type;
  data['version'] = this.version;
  data['version-group'] = this.versionGroup;
  return data;
}