ZResponse constructor

const ZResponse({
  1. int? took,
  2. @JsonKey(name: 'timed_out') bool? timedOut,
  3. @JsonKey(name: '_shards') Shards? shards,
  4. Hits? hits,
  5. String? error,
})

Implementation

const factory ZResponse({
  int? took,
  @JsonKey(name: 'timed_out') bool? timedOut,
  @JsonKey(name: '_shards') Shards? shards,
  Hits? hits,
  String? error,
}) = _ZResponse;