toolRequestPart property
ToolRequestPart?
get
toolRequestPart
The tool request part if it is one, otherwise null.
Implementation
ToolRequestPart? get toolRequestPart =>
isToolRequest ? ToolRequestPart.fromJson(toJson()) : null;