FormElement class

Represents a FormElement object. The FormElement is used for determining how a PaymentProductField should be presented.

Annotations
  • @JsonSerializable(explicitToJson: true)

Constructors

FormElement.new(FormElementType type, {List<ValueMap>? valueMapping})
FormElement.empty({FormElementType type = FormElementType.text, List<ValueMap>? valueMapping = const []})
const
FormElement.fromJson(Map<String, dynamic> json)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type FormElementType
The type of this FormElement.
final
valueMapping List<ValueMap>?
A list of values to be displayed in this FormElement.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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