saveand other methods not available on my models?
DataModel extensions are syntax sugar and will only work when importing Flutter Data:
If you have trouble with the outputs, try:
flutter pub run build_runner build --delete-conflicting-outputs
If after generating code you still see errors in your files, try reopening the project. This is not a Flutter Data issue.
Also make sure your dependencies are up to date:
flutter pub upgrade
No! Despite its name this library does not depend on Flutter at all.
example folder for an, uh, example.
It does depend on Riverpod but this library is exported.
*.g.dartfiles (part of your models)
main.data.dart(as a library)