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