toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() {
final action = this.action;
final error = this.error;
final outputParameters = this.outputParameters;
final tool = this.tool;
return {
'action': ?action,
'error': ?error,
'outputParameters': ?outputParameters,
'tool': ?tool,
};
}