FieldModel class

Constructors

FieldModel({required String fId, required String type, required String text, dynamic defaultValue, List<Option>? options, bool? isRequired, bool? isVisible, Dependency? dependencies, dynamic currentAnswer})
FieldModel.fromJson(Map<String, dynamic> json, {dynamic answer})
factory

Properties

currentAnswer ↔ dynamic
getter/setter pair
defaultValue → dynamic
final
dependencies Dependency?
final
fId String
final
hashCode int
The hash code for this object.
no setterinherited
isRequired bool
getter/setter pair
isVisible bool
getter/setter pair
options List<Option>?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
text String
final
type String
final

Methods

evaluateDependencies(Map<String, dynamic> currentAnswers) → void
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