toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final codeExecutionResult = this.codeExecutionResult;
  final executableCode = this.executableCode;
  final fileData = this.fileData;
  final functionCall = this.functionCall;
  final functionResponse = this.functionResponse;
  final inlineData = this.inlineData;
  final mediaResolution = this.mediaResolution;
  final text = this.text;
  final thought = this.thought;
  final thoughtSignature = this.thoughtSignature;
  final videoMetadata = this.videoMetadata;
  return {
    'codeExecutionResult': ?codeExecutionResult,
    'executableCode': ?executableCode,
    'fileData': ?fileData,
    'functionCall': ?functionCall,
    'functionResponse': ?functionResponse,
    'inlineData': ?inlineData,
    'mediaResolution': ?mediaResolution,
    'text': ?text,
    'thought': ?thought,
    'thoughtSignature': ?thoughtSignature,
    'videoMetadata': ?videoMetadata,
  };
}