toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
  if (source != null) 'source': source,
  if (content != null) 'content': content,
  if (description != null) 'description': description,
  if (argumentHint != null) 'argumentHint': argumentHint,
  if (model != null) 'model': model,
  if (allowedTools != null) 'allowedTools': allowedTools,
};