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