嗨,我是新的颤振移动应用程序开发和遵循的课程上的udemy。我被困在一个地方,老师可以用映射和文字变量来创建变量,而在我的编辑器中,我得到了这样的错误:
This literal contains both 'Map' and 'Iterable' spreads, which makes it impossible to determine whether the literal is a map or a set. Try removing or changing some of the elements so that all of the element
在我的代码中,我尝试处理ZoneLocalMapping.ResultType.Ambiguous。localDateTimeMapping.UnambiguousMapping; case ZoneLocalMapping.ResultType.AmbiguousunambiguousLocalDateTime.ToInstant();如果我查看ZoneLocalMapping类,我会看到以下代码: