HeadlessBrowserResult constructor

const HeadlessBrowserResult({
  1. required bool success,
  2. String? html,
  3. Map<String, dynamic>? data,
  4. Uint8List? screenshot,
  5. String? errorMessage,
  6. int? statusCode,
  7. int? elapsedMillis,
})

Creates a new HeadlessBrowserResult instance

Implementation

const HeadlessBrowserResult({
  required this.success,
  this.html,
  this.data,
  this.screenshot,
  this.errorMessage,
  this.statusCode,
  this.elapsedMillis,
});