ToolChoice constructor

const ToolChoice({
  1. required String type,
  2. String? name,
})

Implementation

const ToolChoice({
  required this.type,
  this.name,
});