LargestContentfulPaint class

See https://github.com/WICG/LargestContentfulPaint and largest_contentful_paint.idl

Constructors

LargestContentfulPaint({required TimeSinceEpoch renderTime, required TimeSinceEpoch loadTime, required num size, String? elementId, String? url, BackendNodeId? nodeId})
LargestContentfulPaint.fromJson(Map<String, dynamic> json)
factory

Properties

elementId String?
The id attribute of the element, if available.
final
hashCode int
The hash code for this object.
no setterinherited
loadTime TimeSinceEpoch
final
nodeId BackendNodeId?
final
renderTime TimeSinceEpoch
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
size num
The number of pixels being painted.
final
url String?
The URL of the image (may be trimmed).
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited