ToolRegistrySnapshot constructor
ToolRegistrySnapshot({
- Iterable<
ToolDefinition> ? tools, - Int64? updatedAtMs,
Implementation
factory ToolRegistrySnapshot({
$core.Iterable<ToolDefinition>? tools,
$fixnum.Int64? updatedAtMs,
}) {
final result = create();
if (tools != null) result.tools.addAll(tools);
if (updatedAtMs != null) result.updatedAtMs = updatedAtMs;
return result;
}