loginWithToken static method

Future<SumupPluginResponse> loginWithToken(
  1. String token
)

Uses Transparent authentication to login to SumUp SDK with supplied token.

Should be called after init.

Implementation

static Future<SumupPluginResponse> loginWithToken(String token) async {
  _throwIfNotInitialized();
  final method = await _channel.invokeMethod('loginWithToken', token);
  return SumupPluginResponse.fromMap(method);
}