title: Assertion failed: C:\…\src\provider.dart:330 T == dynamic "Tried to call Provider.of<dynamic>
body: <p>i keep getting this error..I am using latest version of flutter ,dart,and provider 6.0.2...even if just try to pass a string i get this error..</p>
  <blockquote>
  <p>Exception caught by widgets library ═══════════════════════════════════
  The following assertion was thrown building Homepage(dirty):
  Assertion failed:
  C:\…\src\provider.dart:330
  T == dynamic
  &quot;Tried to call Provider.of. This is likely a mistake and is therefore\nunsupported.\n\nIf you want to expose a variable that can be anything, consider changing\n<code>dynamic</code> to <code>Object</code> instead.\n&quot;</p>
  </blockquote>