PaystackResponse constructor

PaystackResponse({
  1. required bool status,
  2. 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});