Pay.withAssets constructor
- @Deprecated('Prefer to use [Pay({ [PayProvider]: [PaymentConfiguration] })]. Take a look at the readme to see examples')
Pay.withAssets(
- List<String> configAssets
)
Alternative constructor to create a Pay object with a list of
configurations in String format.
Implementation
@Deprecated(
'Prefer to use [Pay({ [PayProvider]: [PaymentConfiguration] })]. Take a look at the readme to see examples')
Pay.withAssets(List<String> configAssets)
: _payPlatform = PayMethodChannel() {
_assetInitializationFuture = _loadConfigAssets(configAssets);
}