InputData class

Constructors

InputData.new(String varName, {String? postProcess(String? text) = noSpacesAtEndAndNoSlashes, required String hint, String? value, String? verify(String? text) = defaultVerification})

Properties

hashCode int
The hash code for this object.
no setterinherited
hint String
the hint the user gets to see
final
postProcess String? Function(String? text)
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value String?
final
varName String
under which name to store the result
final
verify String? Function(String? text)
a function on whether the current text is valid (correct set of characters etc) shall return null if correct and an error-string otherwise
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

Static Methods

alwaysCorrect(String? str) String?
cutSlashinString(String? str) String?
nonempty(String? str) String?
noSpacesAtEnd(String? str) String?
noSpacesAtEndAndNoSlashes(String? str) String?

Constants

defaultVerification → const String? Function(String? str)