menu
puppeteer package
documentation
runtime
CustomPreview class
CustomPreview
brightness_4
brightness_5
CustomPreview
class
Constructors
CustomPreview
(
{
required
String
header
,
RemoteObjectId
?
bodyGetterId
}
)
CustomPreview.fromJson
(
Map
<
String
,
dynamic
>
json
)
factory
Properties
bodyGetterId
→
RemoteObjectId
?
If formatter returns true as a result of formatter.hasBody call then bodyGetterId will contain RemoteObjectId for the function that returns result of formatter.body(object, config) call. The result value is json ML array.
final
hashCode
→
int
The hash code for this object.
read-only
inherited
header
→
String
The JSON-stringified result of formatter.header(object, config) call. It contains json ML array that represents RemoteObject.
final
runtimeType
→
Type
A representation of the runtime type of the object.
read-only
inherited
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
puppeteer package
documentation
runtime
CustomPreview class
runtime library
Classes
AwaitPromiseResult
BindingCalledEvent
CallArgument
CallFrame
CallFunctionOnResult
CompileScriptResult
ConsoleAPICalledEvent
CustomPreview
EntryPreview
EvaluateResult
ExceptionDetails
ExceptionRevokedEvent
ExceptionThrownEvent
ExecutionContextDescription
ExecutionContextDestroyedEvent
ExecutionContextId
GetHeapUsageResult
GetPropertiesResult
InspectRequestedEvent
InternalPropertyDescriptor
ObjectPreview
PrivatePropertyDescriptor
PropertyDescriptor
PropertyPreview
RemoteObject
RemoteObjectId
RunScriptResult
RuntimeApi
ScriptId
StackTraceData
StackTraceId
TimeDelta
Timestamp
UniqueDebuggerId
UnserializableValue
WebDriverValue
Enums
ConsoleAPICalledEventType
ObjectPreviewSubtype
ObjectPreviewType
PropertyPreviewSubtype
PropertyPreviewType
RemoteObjectSubtype
RemoteObjectType
WebDriverValueType
Constructors
CustomPreview
fromJson
Properties
bodyGetterId
hashCode
header
runtimeType
Methods
noSuchMethod
toJson
toString
Operators
operator ==