📜  飞镖箭头 - 飞镖代码示例

📅  最后修改于: 2022-03-11 14:48:09.498000             🧑  作者: Mango

代码示例1
bool hasEmpty = aListOfStrings.any((s) => s.isEmpty);
// is equivalent to:
bool hasEmpty = aListOfStrings.any((s) {
  return s.isEmpty;
});