SlotDefaultValueSpec class

Contains the default values for a slot. Default values are used when Amazon Lex hasn't determined a value for a slot.

Constructors

SlotDefaultValueSpec({required List<SlotDefaultValue> defaultValueList})
SlotDefaultValueSpec.fromJson(Map<String, dynamic> json)
factory

Properties

defaultValueList List<SlotDefaultValue>
The default values for a slot. You can specify more than one default. For example, you can specify a default value to use from a matching context variable, a session attribute, or a fixed value.
final
hashCode int
The hash code for this object.
no setterinherited
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
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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