anchor.diff:      );
     }
   
  +  JavascriptChannel _refreshTokenChannel(BuildContext context) {
  +    return JavascriptChannel(
  +      name: 'RefreshToken',
  +      onMessageReceived: (JavascriptMessage message) async {
  +        if (Provider.of<UserDataProvider>(context, listen: false).isLoggedIn) {
  +          await _userDataProvider.refreshToken();
  +          _webViewController?.reload();
  +        }
  +      },
  +    );
  +  }
  +
     // this function checks to see if the current url of the state is different
     // to the webViewController's url, and loads in the new url if so
     void checkWebURL() async {
  
positive.code:           javascriptChannels: <JavascriptChannel>[
              _linksChannel(context),
              _heightChannel(context),
            ].toSet(),
          ),
        );
  
negative.code: }
  
  class _WebViewContainerState extends State<WebViewContainer> {
    UserDataProvider _userDataProvider;
    WebViewController _webViewController;
    double _contentHeight = cardContentMinHeight;
    bool active;
  