digest method Null safety

Uint8List digest()

Implementation

Uint8List digest() {
  update(_pad());

  assert(pending == null);

  return _digest();
}