toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final artifactChunk = this.artifactChunk;
  final confirmationRequest = this.confirmationRequest;
  final eventId = this.eventId;
  final eventTime = this.eventTime;
  final handoff = this.handoff;
  final optionQuestionsChunk = this.optionQuestionsChunk;
  final resumeSnapshot = this.resumeSnapshot;
  final sequenceNumber = this.sequenceNumber;
  final sessionCheckpoint = this.sessionCheckpoint;
  final status = this.status;
  final textChunk = this.textChunk;
  final thoughtChunk = this.thoughtChunk;
  final toolCall = this.toolCall;
  final toolResponse = this.toolResponse;
  final turnCompleted = this.turnCompleted;
  final turnInProgress = this.turnInProgress;
  final turnMetadata = this.turnMetadata;
  final uiEvent = this.uiEvent;
  return {
    'artifactChunk': ?artifactChunk,
    'confirmationRequest': ?confirmationRequest,
    'eventId': ?eventId,
    'eventTime': ?eventTime,
    'handoff': ?handoff,
    'optionQuestionsChunk': ?optionQuestionsChunk,
    'resumeSnapshot': ?resumeSnapshot,
    'sequenceNumber': ?sequenceNumber,
    'sessionCheckpoint': ?sessionCheckpoint,
    'status': ?status,
    'textChunk': ?textChunk,
    'thoughtChunk': ?thoughtChunk,
    'toolCall': ?toolCall,
    'toolResponse': ?toolResponse,
    'turnCompleted': ?turnCompleted,
    'turnInProgress': ?turnInProgress,
    'turnMetadata': ?turnMetadata,
    'uiEvent': ?uiEvent,
  };
}