toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (creationTime != null) 'creationTime': creationTime!,
      if (displayName != null) 'displayName': displayName!,
      if (lastTestResult != null) 'lastTestResult': lastTestResult!,
      if (name != null) 'name': name!,
      if (notes != null) 'notes': notes!,
      if (tags != null) 'tags': tags!,
      if (testCaseConversationTurns != null)
        'testCaseConversationTurns': testCaseConversationTurns!,
      if (testConfig != null) 'testConfig': testConfig!,
    };