refreshToken method

Future refreshToken ()

Refresh token

Return the map obtained from LineAccessToken.

  • accessToken - User access token.
  • expiresIn - The amount of time in milliseconds until the user access token expires.

If not login or error, throw PlatformException.

Implementation

refreshToken() async {
  return await _methodChannel.invokeMethod('refreshToken');
}