authenticateSpotify method

  1. @override
Future<bool> authenticateSpotify()
override

Initiates the Spotify OAuth authentication flow.

Returns true if authentication was initiated successfully.

Implementation

@override
Future<bool> authenticateSpotify() async {
  try {
    await _channel.invokeMethod(_Methods.authenticateSpotify);
    return true;
  } catch (e) {
    rethrow;
  }
}