toMap method
Implementation
Map<String, dynamic> toMap() => {
"merchant_id": merchantId,
"merchant_data": List<dynamic>.from(merchantData?.map((x) => x.toMap()) ?? []),
"redirect_url": redirectUrl,
"notification_url": notificationUrl,
};