toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (agentInfo != null) 'agentInfo': agentInfo!,
if (customerSatisfactionRating != null)
'customerSatisfactionRating': customerSatisfactionRating!,
if (menuPath != null) 'menuPath': menuPath!,
if (waitDuration != null) 'waitDuration': waitDuration!,
};