BooleanFormComponent class

Model for a FormComponent representing BooleanDataEntity

Inheritance

Constructors

BooleanFormComponent({required String property, required BooleanDataEntity data, required String fieldId, FormComponentOptions options = const FormComponentOptions(), bool required = false})
Creates a FormComponent
BooleanFormComponent.fromJson(Map<String, dynamic> json)
Deserializes json into a FormComponent

Properties

data BooleanDataEntity
Value of the Component
getter/setter pairoverride-getter
fieldId String
Id of this FormComponent
final
hashCode int
The hash code for this object.
no setterinherited
options FormComponentOptions
Additional options of a component
final
property String
Name of the Component
final
required bool
Shows if the field can be null
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Saves this into a Map that can be encoded using json.encode
inherited
toString() String
A string representation of this object.
inherited

Operators

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