instance property
- @Deprecated('Use YPay.initialize(modules: [quickPayModule(...)]) instead.')
Implementation
@Deprecated(
'Use YPay.initialize(modules: [quickPayModule(...)]) instead.',
)
static YandexQuickPay get instance {
if (_instance == null) {
throw StateError(
'YandexQuickPay must be initialized before use. '
'Call YandexQuickPay.initialize() first.',
);
}
return _instance!;
}