logOut method

Future<Result<KakaoLoginResult>> logOut()

Implementation

Future<Result<KakaoLoginResult>> logOut() async {
  try {
    final result = await _channel.invokeMapMethod<String, dynamic>('logOut');
    return Result(() => KakaoLoginResult._(result!));
  } on PlatformException catch (e) {
    return Result.error(KakaoSdkError.fromPlatformException(e));
  }
}