reset()
reset() is called by merchant applications to reset payment or card binding processes and clear the current component state.
Notes:
- This method does not release event listeners but only resets the native component state.
- After calling
reset(), callcreateComponent()again to recreate the component using new sessionData.
Method signature
copy
Future<void> reset()Parameters
This method has no parameters.
Return value
This method returns a Future<void> to represent the asynchronous execution state of the reset operation. After the reset is complete, Future ends but does not return a specific result.