core.Map<core.String, core.dynamic> toJson() { final botType = this.botType; final name = this.name; return {'botType': ?botType, 'name': ?name}; }