instance property
StripeApi
get
instance
Access the singleton instance of StripeApi. Throws an Exception if StripeApi.init hasn't been called previously.
Implementation
static StripeApi get instance {
if (_instance == null) {
throw Exception('Attempted to get singleton instance of StripeApi without initialization');
}
return _instance!;
}