toMap method
Implementation
@override
Map<String, Object?> toMap() {
return {
if (toolsListChanged != null) 'toolsListChanged': toolsListChanged,
if (promptsListChanged != null) 'promptsListChanged': promptsListChanged,
if (resourcesListChanged != null)
'resourcesListChanged': resourcesListChanged,
if (resourceSubscriptions != null)
'resourceSubscriptions': resourceSubscriptions,
};
}