refreshToken method

Future<void> refreshToken(
  1. String token
)

Implementation

Future<void> refreshToken(String token) async {
  try {
    await _channel.invokeMethod('refreshToken', {
      'token': token,
    });
  } on PlatformException catch (e) {
    log("Failed to refresh token: ${e.message}");
    rethrow;
  }
}