Future<void> refreshToken(String token) async { try { await _channel.invokeMethod('refreshToken', { 'token': token, }); } on PlatformException catch (_) { rethrow; } }