setPublishableKey method

void setPublishableKey(
  1. String key
)

Call this method before using the library. Sets the Stripe publishable key for your project

Implementation

void setPublishableKey(String key) {
  _channel.invokeMethod("setPublishableKey", key);
  publishableKey = key;
}