List<KeyPath> get propertiesToFetch => _propertiesToFetch ?? entity.defaultProperties! .map((k) => KeyPath(entity.properties[k])) .toList();