collect method

  1. @Deprecated("The collect method with parameters 'IntentId' and 'shouldSaveCard' is deprecated and will be removed in the next release. Use the parameterless collect() method instead. This change simplifies the API and prepares for future updates.")
Future<VaultData?> collect([
  1. String? intentId,
  2. bool? shouldSaveCard
])

Implementation

@Deprecated(
    "The collect method with parameters 'IntentId' and 'shouldSaveCard' is deprecated and will be removed in the next release. Use the parameterless collect() method instead. This change simplifies the API and prepares for future updates.")
Future<VaultData?> collect([String? intentId, bool? shouldSaveCard]) async {
  return await _cardFormCollector.collect(intentId, shouldSaveCard);
}