hashOfMap function

Uint8List hashOfMap(
  1. Map map
)

Implementation

Uint8List hashOfMap(Map map) {
  final hashes = <Uint8List>[];
  for (final entry in map.entries) {
    hashes.add(hashKeyValue(entry.key, entry.value));
  }
  return sha256Chunks(u8aSorted(hashes));
}