unlink method Null safety

Future<KakaoLoginResult> unlink()

Implementation

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