firstWhereOrNull method

dynamic firstWhereOrNull(
  1. BuildContext context,
  2. List list,
  3. int loop
)

Implementation

dynamic firstWhereOrNull(BuildContext context, List<dynamic> list, int loop) {
  return list.firstWhereOrNull(
      (e) => condition.getValue(context, () => true, () => false, loop, e));
}