toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final agentName = this.agentName;
  final confirmationId = this.confirmationId;
  final context = this.context;
  final expireTime = this.expireTime;
  final negativeLabel = this.negativeLabel;
  final positiveLabel = this.positiveLabel;
  final questions = this.questions;
  final tool = this.tool;
  return {
    'agentName': ?agentName,
    'confirmationId': ?confirmationId,
    'context': ?context,
    'expireTime': ?expireTime,
    'negativeLabel': ?negativeLabel,
    'positiveLabel': ?positiveLabel,
    'questions': ?questions,
    'tool': ?tool,
  };
}