Input class Null safety

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.
read-onlyinherited
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.
read-onlyinherited
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.
read-only

Methods

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

Operators

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