toMap method

  1. @override
Map<String, Object?> toMap()
override

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,
  };
}