Hash.fromBytes constructor

Hash.fromBytes(
  1. List<int> hash
)

Implementation

Hash.fromBytes(List<int> hash) : hash = hash {
  if (hash.length != length) {
    throw ArgumentError('Invalid hash length');
  }
}