createToken abstract method

Future<TokenData> createToken(
  1. CreateTokenParams params
)

Creates a token for card details.

Note this method is legacy and it is advised to use PaymentIntent.

Implementation

Future<TokenData> createToken(CreateTokenParams params);