toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final agentData = this.agentData;
  final candidate = this.candidate;
  final text = this.text;
  final value = this.value;
  return {
    'agentData': ?agentData,
    'candidate': ?candidate,
    'text': ?text,
    'value': ?value,
  };
}