toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (conversationTurns != null) 'conversationTurns': conversationTurns!,
  if (environment != null) 'environment': environment!,
  if (name != null) 'name': name!,
  if (testResult != null) 'testResult': testResult!,
  if (testTime != null) 'testTime': testTime!,
};