ensureInitialized static method

PaywayTransactionService ensureInitialized(
  1. ABAMerchant merchant
)

Implementation

static PaywayTransactionService ensureInitialized(ABAMerchant merchant) {
  PaywayTransactionService.instance ??= PaywayTransactionService._();
  PaywayTransactionService.instance!.initialize(merchant);
  return PaywayTransactionService.instance!;
}