hashSync method

  1. @nonVirtual
Hash hashSync()

Computes a hash synchronously (unlike hash).

Implementation

@nonVirtual
Hash hashSync() {
  if (!isClosed) {
    throw StateError('Not closed');
  }
  return Hash(Uint8List.fromList(hashBytes));
}