Input class

Objects that represent an input of the action

Constructors

Input(String name, {required bool isRequired, bool canBeEmpty = true})
const

Properties

canBeEmpty bool
True if the value can be an empty string.
final
hashCode int
The hash code for this object.
no setterinherited
isRequired bool
final
name String
The name of the input, as written in the YAML file.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value String?
Will throw an ArgumentError if the input is required and the value is null or if the value is an empty string and canBeEmpty is false.
no setter

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