purchase method

  1. @override
Future<void> purchase(
  1. String orderId,
  2. String lines,
  3. double total
)
override

Implementation

@override
Future<void> purchase(String orderId, String lines, double total) async {
  await methodChannel.invokeMethod(
      'purchase', {'orderId': orderId, 'lines': lines, 'total': total});
}