readListField method

  1. @override
Object? readListField(
  1. String operation,
  2. List<Object> path,
  3. String field, {
  4. Set<String>? deps,
})

readField for a caller that uses only the length of the list it returns (Accessor.list of inline objects: its elements are read through their own paths). When field is an entity field holding a list, deps gets its lengthDepKey instead of its depKey.

Implementation

@override
Object? readListField(
  String operation,
  List<Object> path,
  String field, {
  Set<String>? deps,
}) => _walk(operation, path, field, deps, true);