toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (currentPage != null) 'currentPage': currentPage!,
      if (diagnosticInfo != null) 'diagnosticInfo': diagnosticInfo!,
      if (differences != null) 'differences': differences!,
      if (sessionParameters != null) 'sessionParameters': sessionParameters!,
      if (status != null) 'status': status!,
      if (textResponses != null) 'textResponses': textResponses!,
      if (triggeredIntent != null) 'triggeredIntent': triggeredIntent!,
    };