IntegerFormComponent class
Model for a FormComponent representing IntegerDataEntity
- Inheritance
-
- Object
- FormComponent<
IntegerDataEntity> - IntegerFormComponent
Constructors
- IntegerFormComponent({required String property, required IntegerDataEntity data, required String fieldId, required TextComponentOptions options, bool required = false})
- Creates a FormComponent
-
IntegerFormComponent.fromJson(Map<
String, dynamic> json) -
Deserializes
json
into a FormComponent
Properties
- data ↔ IntegerDataEntity
-
Value of the Component
getter/setter pairoverride-getter
- fieldId ↔ String
-
Id of this FormComponent
getter/setter pairoverride-getter
- 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