InteractionInput class sealed

The (optional) input for an interaction.

Can be either a DataSchemaValue or a byte Stream.

Implementers
Annotations
  • @immutable

Constructors

InteractionInput()
Const constructor for the InteractionInput class.
const
InteractionInput.fromArray(List<Object?> value)
Creates an InteractionInput from a List of values.
factory
InteractionInput.fromBoolean(bool value)
Creates an InteractionInput from a boolean value.
factory
InteractionInput.fromInteger(int value)
Creates an InteractionInput from an integer value.
factory
InteractionInput.fromNull()
Creates an InteractionInput that represents a Null value.
factory
InteractionInput.fromNumber(num value)
Creates an InteractionInput from a numeric value.
factory
InteractionInput.fromObject(Map<String, Object?> value)
Creates an InteractionInput from a Map of values.
factory
InteractionInput.fromStream(Stream<List<int>> stream)
Creates an InteractionInput from a byte stream.
factory
InteractionInput.fromString(String value)
Creates an InteractionInput from a boolean value.
factory

Properties

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
toString() String
A string representation of this object.
inherited

Operators

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