ResponseQuery constructor

ResponseQuery({
  1. int? code,
  2. String? log,
  3. String? info,
  4. Int64? index,
  5. List<int>? key,
  6. List<int>? value,
  7. ProofOps? proofOps,
  8. Int64? height,
  9. String? codespace,
})

Implementation

factory ResponseQuery({
  $core.int? code,
  $core.String? log,
  $core.String? info,
  $fixnum.Int64? index,
  $core.List<$core.int>? key,
  $core.List<$core.int>? value,
  $3.ProofOps? proofOps,
  $fixnum.Int64? height,
  $core.String? codespace,
}) {
  final _result = create();
  if (code != null) {
    _result.code = code;
  }
  if (log != null) {
    _result.log = log;
  }
  if (info != null) {
    _result.info = info;
  }
  if (index != null) {
    _result.index = index;
  }
  if (key != null) {
    _result.key = key;
  }
  if (value != null) {
    _result.value = value;
  }
  if (proofOps != null) {
    _result.proofOps = proofOps;
  }
  if (height != null) {
    _result.height = height;
  }
  if (codespace != null) {
    _result.codespace = codespace;
  }
  return _result;
}