PaymentWindowDocument constructor

PaymentWindowDocument({
  1. required String html,
  2. required BridgeToken token,
})

Implementation

PaymentWindowDocument({required String html, required BridgeToken token})
    : _token = token,
      url = Uri.dataFromString(_withToken(html, token), mimeType: 'text/html', encoding: utf8).toString();