【发布时间】:2021-10-13 07:42:54
【问题描述】:
当我运行我的应用并选择我喜欢的狗品种并喜欢它时,我收到一条错误消息 -
════════ Exception caught by gesture ═══════════════════════════════════════════
The following NoSuchMethodError was thrown while handling a gesture:
The method 'contains' was called on null.
Receiver: null
Tried calling: contains(Instance of 'BreedsModel')
likeList 列表包含我喜欢的所有犬种。我该如何解决这个问题?
这是我的代码的链接 - My Code
【问题讨论】:
标签: android flutter error-handling bloc