IntentField class final

One field of the intent vocabulary.

Annotations

Constructors

IntentField({required String name, required IntentFieldKind kind, required String description, List<IntentValue> values = const [], int maxItems = 1, int maxWords = 0})
const

Properties

description → String
One line saying what the field controls.
final
hashCode → int
The hash code for this object.
no setterinherited
kind → IntentFieldKind
final
maxItems → int
List cap (IntentFieldKind.listOf).
final
maxWords → int
Word cap (IntentFieldKind.text).
final
name → String
The JSON key.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
values → List<IntentValue>
Allowed values (IntentFieldKind.oneOf and IntentFieldKind.listOf).
final

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