toJson method
Implementation
@override
Object toJson() => {
'setupComplete': ?setupComplete?.toJson(),
'serverContent': ?serverContent?.toJson(),
'toolCall': ?toolCall?.toJson(),
'toolCallCancellation': ?toolCallCancellation?.toJson(),
'goAway': ?goAway?.toJson(),
'sessionResumptionUpdate': ?sessionResumptionUpdate?.toJson(),
'usageMetadata': ?usageMetadata?.toJson(),
};