enable method
Enables DOM agent for the given page.
includeWhitespace
Whether to include whitespaces in the children array of returned Nodes.
Implementation
Future<void> enable({
@Enum(['none', 'all']) String? includeWhitespace,
}) async {
assert(
includeWhitespace == null ||
const ['none', 'all'].contains(includeWhitespace),
);
await _client.send('DOM.enable', {
if (includeWhitespace != null) 'includeWhitespace': includeWhitespace,
});
}