StringFormComponent class

Model for a FormComponent representing StringDataEntity

Inheritance

Constructors

StringFormComponent({required String property, required StringDataEntity data, required TextComponentOptions options, required String fieldId, bool required = false})
Creates a FormComponent
StringFormComponent.fromJson(Map<String, dynamic> json)
Deserializes json into a FormComponent

Properties

data StringDataEntity
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 TextComponentOptions
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