FonePayPaymentResult class

Constructors

FonePayPaymentResult({String? error, FonePayResponse? data})
Creates an FonePayPaymentResult with the given object either data or error (but not both).

Properties

data FonePayResponse?
The latest data received by the asynchronous computation.
getter/setter pair
error String?
The latest error object received.
getter/setter pair
hasData bool
Returns whether this modal contains a non-null data value.
no setter
hasError bool
Returns whether this snapshot contains a non-null error value.
no setter
hashCode int
The hash code for this object.
no setterinherited
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
toString() String
A string representation of this object.
inherited

Operators

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