EnumFormComponent class

Model for a FormComponent representing EnumDataEntity

Inheritance

Constructors

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

Properties

data EnumDataEntity
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