toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final map = <String, dynamic>{};
  if (console != null) {
    map['console'] = console;
  }
  if (cookies != null) {
    map['cookies'] = cookies;
  }
  if (html != null) {
    map['html'] = html;
  }
  if (network != null) {
    map['network'] = network;
  }
  if (screenshot != null) {
    map['screenshot'] = screenshot;
  }
  return map;
}