The method 'startsWith' was called on null.
Opened this issue · 0 comments
DmytroB36 commented
══╡ EXCEPTION CAUGHT BY WIDGETS LIBRARY ╞═══════════════════════════════════════════════════════════
The following NoSuchMethodError was thrown building ZendeskChatWidget(dirty, dependencies:
[_InheritedTheme, _LocalizationsScope-[GlobalKey#6c1ca]], state: _ZendeskChatWidgetState#6df09):
The method 'startsWith' was called on null.
Receiver: null
Tried calling: startsWith("visitor")
The relevant error-causing widget was:
MaterialApp file:///C:/project_path/lib/main.dart:11:12
When the exception was thrown, this was the stack:
#0 Object.noSuchMethod (dart:core-patch/object_patch.dart:51:5)
#1 _ZendeskChatWidgetState.mapChatLogToMessage (package:zendesk_chat/widgets/zendesk_chat_widget.dart:72:23)