complete method

Future<void> complete([
  1. PaymentComplete? result = PaymentComplete.unknown,
  2. PaymentCompleteDetails? details
])

Implementation

Future<void> complete(
        [PaymentComplete? result = PaymentComplete.unknown,
        PaymentCompleteDetails? details]) =>
    js_util.promiseToFuture(
        js_util.callMethod(this, 'complete', [result?.value, details]));