ToolChoice constructor

const ToolChoice({
  1. String? type,
  2. ChatFunction? function,
})

Implementation

const factory ToolChoice({String? type, ChatFunction? function}) =
    _ToolChoice;