ToolHints constructor

const ToolHints({
  1. bool readOnly = false,
  2. bool destructive = false,
  3. bool idempotent = false,
  4. bool openWorld = false,
  5. String? title,
})

Implementation

const ToolHints({
  this.readOnly = false,
  this.destructive = false,
  this.idempotent = false,
  this.openWorld = false,
  this.title,
}) : assert(
       !(readOnly && destructive),
       'a tool that changes nothing destroys nothing',
     );