You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Good job with the flutter app 👏
When running the 'merchant' I get the following output in the debug console:
lib/main.dart:1
Warning: Mapping new ns [http://schemas.android.com/repository/android/common/02]() to old ns [http://schemas.android.com/repository/android/common/01]()
Warning: Mapping new ns [http://schemas.android.com/repository/android/generic/02]() to old ns [http://schemas.android.com/repository/android/generic/01]()
Warning: Mapping new ns [http://schemas.android.com/sdk/android/repo/addon2/02]() to old ns [http://schemas.android.com/sdk/android/repo/addon2/01]()
Warning: Mapping new ns [http://schemas.android.com/sdk/android/repo/repository2/02]() to old ns [http://schemas.android.com/sdk/android/repo/repository2/01]()
Warning: Mapping new ns [http://schemas.android.com/sdk/android/repo/sys-img2/02]() to old ns [http://schemas.android.com/sdk/android/repo/sys-img2/01]()
: Error: The getter 'isEmailVerified' isn't defined for the class 'User'.
lib/pages/login.dart:184
- 'User' is from 'package:firebase_auth[/firebase_auth.dart]()' ('.[./../../dev/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_auth-3.3.11/lib/firebase_auth.dart]()').
package:firebase_auth[/firebase_auth.dart]():1
Try correcting the name to the name of an existing getter, or defining a getter or field named 'isEmailVerified'.
if (user.isEmailVerified) {
: Error: The getter 'onAuthStateChanged' isn't defined for the class 'FirebaseAuth'.
lib/pages/splash.dart:15
- 'FirebaseAuth' is from 'package:firebase_auth/firebase_auth.dart' ('.[./../../dev/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_auth-3.3.11/lib/firebase_auth.dart]()').
package:firebase_auth/firebase_auth.dart:1
Try correcting the name to the name of an existing getter, or defining a getter or field named 'onAuthStateChanged'.
authService.auth.onAuthStateChanged.listen((user) {
: Error: 'currentUser' isn't a function or method and can't be invoked.
lib/pages/splash.dart:22
user = await authService.auth.currentUser();
: Error: 'currentUser' isn't a function or method and can't be invoked.
lib/pages/verify.dart:74
FirebaseUser user = await authService.auth.currentUser();
: Error: The method 'sendEmailVerification' isn't defined for the class 'FirebaseUser'.
lib/pages/verify.dart:75
- 'FirebaseUser' is from 'package:ofm_merchant[/providers/auth.dart]()' ('lib[/providers/auth.dart]()').
package:ofm_merchant/providers/auth.dart:1
Try correcting the name to the name of an existing method, or defining a method named 'sendEmailVerification'.
user.sendEmailVerification().then((_) {
: Error: The getter 'documents' isn't defined for the class 'QuerySnapshot<Object>'.
lib/providers/db.dart:29
- 'QuerySnapshot' is from 'package:cloud_firestore[/cloud_firestore.dart]()' ('.[./../../dev/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-3.1.10/lib/cloud_firestore.dart]()').
package:cloud_firestore/cloud_firestore.dart:1
- 'Object' is from 'dart:core'.
Try correcting the name to the name of an existing getter, or defining a getter or field named 'documents'.
productsSnapshot.documents
: Error: The method 'document' isn't defined for the class 'CollectionReference<Map<String, dynamic>>'.
lib/providers/db.dart:46
And many similar errors... any ideas?
The text was updated successfully, but these errors were encountered:
Hi!
Good job with the flutter app 👏
When running the 'merchant' I get the following output in the debug console:
And many similar errors... any ideas?
The text was updated successfully, but these errors were encountered: