toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (currentPage != null) 'currentPage': currentPage!,
      if (matches != null) 'matches': matches!,
      if (text != null) 'text': text!,
      if (transcript != null) 'transcript': transcript!,
      if (triggerEvent != null) 'triggerEvent': triggerEvent!,
      if (triggerIntent != null) 'triggerIntent': triggerIntent!,
    };