fromInterface static method

LyraInitializeOptions fromInterface(
  1. LyraInitializeOptionsInterface lyraInitializeOptionInterface
)

convert a LyraInitializeOptionsInterface to a LyraInitializeOptions

Implementation

static LyraInitializeOptions fromInterface(
  LyraInitializeOptionsInterface lyraInitializeOptionInterface,
) =>
    LyraInitializeOptions(
      apiServerName: lyraInitializeOptionInterface.apiServerName,
      cardScanningEnabled: lyraInitializeOptionInterface.cardScanningEnabled,
      nfcEnabled: lyraInitializeOptionInterface.nfcEnabled,
      applePayMerchantId: lyraInitializeOptionInterface.applePayMerchantId,
      applePayMerchantName:
          lyraInitializeOptionInterface.applePayMerchantName,
    );