The InitiateIvorypayTransaction class represents a transaction object with
properties such as baseFiat, amount, crypto, email, authorization, and metadata,
and includes methods for JSON serialization and copying.
The IvorypayButton class is a stateless widget that displays an image button with two options and
executes a callback function when tapped.
A customizable button widget for Ivorypay integration.
The above code is defining a constructor for a class called IvorypayFlutter.
The constructor takes in several parameters including a required
BuildContext object, a boolean isDev flag with a default value of true,
a required data object, and optional callback functions for onError,
onSuccess, and onLoading