toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (objectiveValue != null) 'objectiveValue': objectiveValue!,
      if (trainingStep != null) 'trainingStep': trainingStep!,
    };