Map<String, dynamic> toJson() { final json = <String, dynamic>{}; json[r'code'] = this.code; json[r'name'] = this.name; json[r'gems'] = this.gems; json[r'cost'] = this.cost; return json; }