LazyLoadDetectionResult class
Result of lazy loading detection
Constructors
-
LazyLoadDetectionResult.new({required LazyLoadType type, List<
Element> lazyElements = const [], List<Element> triggerElements = const [], bool requiresJavaScript = false, bool requiresScrolling = false, bool requiresInteraction = false}) - Creates a new LazyLoadDetectionResult
- LazyLoadDetectionResult.empty()
-
Creates an empty LazyLoadDetectionResult
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- hasLazyLoading → bool
-
Whether lazy loading was detected
no setter
-
lazyElements
→ List<
Element> -
The lazy loaded elements
final
- requiresInteraction → bool
-
Whether interaction is required for lazy loading
final
- requiresJavaScript → bool
-
Whether JavaScript is required for lazy loading
final
- requiresScrolling → bool
-
Whether scrolling is required for lazy loading
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
triggerElements
→ List<
Element> -
The trigger elements (e.g., buttons)
final
- type → LazyLoadType
-
The type of lazy loading
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited