toMap method
Serializes the config for the method channel.
Implementation
Map<String, dynamic> toMap() => {
'merchantIdentifier': merchantIdentifier,
'countryCode': countryCode,
'currencyCode': currencyCode,
'summaryItems': summaryItems.map((e) => e.toMap()).toList(),
'supportedNetworks': supportedNetworks.map((e) => e.value).toList(),
'merchantCapabilities': merchantCapabilities.map((e) => e.value).toList(),
};