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