UtilityOrderRequestItem class

Constructors

UtilityOrderRequestItem({required String publicId, int? quantity, UtilityInputs? inputs})
Returns a new UtilityOrderRequestItem instance.

Properties

hashCode → int
The hash code for this object.
no setteroverride
inputs ↔ UtilityInputs?
The inputs the offer's requiredInputs list, plus value and maxPrice. May be omitted only when the offer lists no inputs and is not a range.
getter/setter pair
publicId ↔ String
Offer public ID from search, the one-biller route or the catalog; a biller's own ID is not one.
getter/setter pair
quantity ↔ int?
Always 1: one bill payment per item.
getter/setter pair
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>
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
override

Static Methods

fromJson(dynamic value) → UtilityOrderRequestItem?
Returns a new UtilityOrderRequestItem instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) → List<UtilityOrderRequestItem>
mapFromJson(dynamic json) → Map<String, UtilityOrderRequestItem>
mapListFromJson(dynamic json, {bool growable = false}) → Map<String, List<UtilityOrderRequestItem>>

Constants

requiredKeys → const Set<String>
The list of required keys that must be present in a JSON.