transaction method

void transaction(
  1. String productName,
  2. String currencyCode,
  3. double quantity,
  4. double unitPrice,
)

Implementation

void transaction(String productName, String currencyCode, double quantity, double unitPrice) {
  _channel.invokeMethod('transaction', {
    'productName': productName,
    'currencyCode': currencyCode,
    'quantity': quantity,
    'unitPrice': unitPrice,
  });
}