当我尝试使用firebase注销时抛出错误。我尝试了这个解决方案,但它不适用于注销。Flutter Navigator给出了链接中提到的错误,但该解决方案不起作用。' was called on null.E/flutter (17712): Receiver: null
E/flutter (17712): Tried calling: findAncestorStateOfType<NavigatorStatestream_imp
为什么我要给Unhandled Exception: NoSuchMethodError: The method 'toMap' was called on null这个错误。我被困在这里,但我不能理解我的错误。我认为model类的实例没有得到,但我知道为什么会发生这种情况。= null) { } }
String