dataSHA256 property

FutureOr<Uint8List> get dataSHA256

Implementation

FutureOr<Uint8List> get dataSHA256 {
  if (_dataSHA256 != null) return _dataSHA256!;

  var data = this.data;

  if (data is Uint8List) {
    return _dataSHA256 = data.computeSHA256();
  } else {
    return data.then((value) => _dataSHA256 = value.computeSHA256());
  }
}