AirtimeSearchDetails class

Constructors

AirtimeSearchDetails({CarrierDetection? phoneLookup})
Returns a new AirtimeSearchDetails instance.

Properties

hashCode → int
The hash code for this object.
no setteroverride
phoneLookup ↔ CarrierDetection?
Outcome of the search's carrier lookup. carrierName is the carrier the lookup reported, for display only; it is present for any status when the lookup returned one and is never an operator ID. countryCode is the number's country as ISO 3166-1 alpha-2, derived from the number itself and never from the lookup; it is present for every status, so a partner can list that country's operators for the manual flow.
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) → AirtimeSearchDetails?
Returns a new AirtimeSearchDetails instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) → List<AirtimeSearchDetails>
mapFromJson(dynamic json) → Map<String, AirtimeSearchDetails>
mapListFromJson(dynamic json, {bool growable = false}) → Map<String, List<AirtimeSearchDetails>>

Constants

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