TextAnswerFormat class

Implemented types
Annotations
  • @JsonSerializable()

Constructors

TextAnswerFormat({int? maxLines, String hint = '', String? defaultValue, String? validationRegEx = '^(?!\s*\$).+'})
const
TextAnswerFormat.fromJson(Map<String, dynamic> json)
factory

Properties

defaultValue String?
final
hashCode int
The hash code for this object.
no setterinherited
hint String
final
maxLines int?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
validationRegEx String?
Regular expression by which the text gets validated default: '^(?!\s*$).+' that checks if the entered text is empty to allow any type of an answer including an empty one; set it explicitly to null.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
override
toString() String
A string representation of this object.
inherited

Operators

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