title: How to access to provider field from class that do not have context?
body: <p>I am using <code>Provider</code>. I have got two classes: <code>class TenderApiData {}</code> it's stand alone class (not widget). How I can write <code>accesstoken</code> to <code>AppState</code>?</p>
  
  <pre><code>class AppState extends ChangeNotifier // putted to ChangeNotifierProvider
  { 
    String _accesstoken; // need to fill not from widget but from stand alone class
    String _customer; // Fill from widget 
    List&lt;String&gt; _regions; // Fill from widget 
    List&lt;String&gt; _industry; // Fill from widget 
    ...
  }
  </code></pre>
  
  <p>I need way to read\write <code>accesstoken</code> from stand alone classes.</p>
  
  <p>Or I have issue with architecture of my app?</p>
  
  <p><a href="https://gist.github.com/bubnenkoff/0aaf86f31361fdb20f2d57db86225e92" rel="noreferrer">Here</a> is full source code.</p>