toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (conversationProfile != null)
'conversationProfile': conversationProfile!,
if (conversationStage != null) 'conversationStage': conversationStage!,
if (endTime != null) 'endTime': endTime!,
if (lifecycleState != null) 'lifecycleState': lifecycleState!,
if (name != null) 'name': name!,
if (phoneNumber != null) 'phoneNumber': phoneNumber!,
if (startTime != null) 'startTime': startTime!,
};