PaystackResponse class
Represents a response from the Paystack API.
This class encapsulates the response structure returned by Paystack, containing the status of the API call and any associated data.
Constructors
- PaystackResponse({required bool status, required dynamic data})
-
Creates a PaystackResponse with the given
status
anddata
. -
PaystackResponse.fromJson(Map<
String, dynamic> json) -
Creates a PaystackResponse instance from a JSON object.
factory
Properties
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