PaystackResponse constructor
PaystackResponse({
- required bool status,
- required dynamic data,
Creates a PaystackResponse with the given status
and data
.
status
: The success status of the API call.data
: The data returned from the API call.
Implementation
PaystackResponse({required this.status, required this.data});