DoHResponse constructor

const DoHResponse({
  1. required int status,
  2. required bool tc,
  3. required bool rd,
  4. required bool ra,
  5. required bool ad,
  6. required bool cd,
  7. required DoHQuestion question,
  8. required List<DoHAnswer> answers,
  9. List<DoHAnswer> authority = const [],
  10. List<DoHAnswer> additional = const [],
})

Create DoH response instance

Implementation

const DoHResponse({
  required this.status,
  required this.tc,
  required this.rd,
  required this.ra,
  required this.ad,
  required this.cd,
  required this.question,
  required this.answers,
  this.authority = const [],
  this.additional = const [],
});