initialize method
- @Deprecated("'initilize' doesn't properly communicate the purpose of this function. Use the `prompt` function. Will be removed in version 1.0.0")
- required BuildContext context,
- required RavePayInitializer initializer,
Prompts the customer to input payment details if the correct parameters are passed.
context
Your immediate build context.
initializer
Container for the transaction parameters
Please, enable embedded_views_preview on iOS. See https://stackoverflow.com/a/55290868/6181476
Implementation
@Deprecated(
"'initilize' doesn't properly communicate the purpose of this function. Use the `prompt` function. Will be removed in version 1.0.0")
Future<RaveResult?> initialize({
required BuildContext context,
required RavePayInitializer initializer,
}) async {
return prompt(context: context, initializer: initializer);
}