Undefined class 'AuthResult'. Try changing the name to the name of an existing class, or creating a class with the name 'AuthResult'.dartundefined_class code example
Example: authresult undefined class
They renamed the class AuthResult to UserCredential