HttpReadState_representation_independent_hash function

Uint8List HttpReadState_representation_independent_hash(
  1. Map readState
)

@param {object} read_state @returns {Buffer}

Implementation

// ignore: non_constant_identifier_names
Uint8List HttpReadState_representation_independent_hash(Map readState) {
  return hash_of_map({
    "request_type": "read_state",
    "ingress_expiry": readState["ingress_expiry"],
    "paths": readState["paths"],
    "sender": readState["sender"],
  });
}