DangerZone enum

Experimental API features that TypeSafe keeps off unless a request asks for them with a TypeSafe-Danger-Zone-* header. TypeSafe doesn't vouch for them in production, and may change or drop them between releases.

Inheritance
Available extensions
Annotations
  • @experimental

Values

images → const DangerZone

Images in a request and Box questions, sent as TypeSafe-Danger-Zone-Images: true.

const DangerZone(dangerZoneImagesHeader)
longContext → const DangerZone

A 262k-token context per request and per question instead of the default limits, sent as TypeSafe-Danger-Zone-Long-Context: true. Slower and less accurate, so turn it on only where it's needed.

const DangerZone(dangerZoneLongContextHeader)

Properties

hashCode → int
The hash code for this object.
no setterinherited
The lower-case name of the header that turns this feature on.
final
index → int
A numeric identifier for the enumerated value.
no setterinherited
name → String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Constants

values → const List<DangerZone>
A constant List of the values in this enum, in order of their declaration.