linkApple method
Implementation
@override
Future<void> linkApple({
required model.Session session,
required String token,
Map<String, String>? vars,
}) async {
final res = await _api.v2AccountLinkApplePost(
body: ApiAccountApple(
token: token,
vars: vars,
),
);
if (!res.isSuccessful) throw Exception('Linking failed.');
}