toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (createTime != null) 'createTime': createTime!,
      if (description != null) 'description': description!,
      if (inferenceParameter != null)
        'inferenceParameter': inferenceParameter!,
      if (name != null) 'name': name!,
      if (summarizationContext != null)
        'summarizationContext': summarizationContext!,
      if (triggerEvent != null) 'triggerEvent': triggerEvent!,
      if (updateTime != null) 'updateTime': updateTime!,
    };