logSpotifyLink method

  1. @override
Future<void> logSpotifyLink(
  1. String userId
)
override

Implementation

@override
Future<void> logSpotifyLink(String userId) async {
  try {
    await _logLinkingChannel.invokeMethod(
        SuperfineSdkChannelMethods.logSpotifyLink, {'userId': userId});
  } catch (e) {
    print("Error linking Spotify account: $e");
  }
}