DigestType class

Implementers
Annotations
  • @freezed

Constructors

DigestType.blake2B256(Uint8List field0)
const
factory
DigestType.blake2B512()
const
factory
DigestType.blake2S256(Uint8List field0)
const
factory
DigestType.blake3256()
const
factory
DigestType.blake3512()
const
factory
DigestType.sha2256()
const
factory
DigestType.sha2512()
const
factory
DigestType.sha3256()
const
factory
DigestType.sha3512()
const
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

map<TResult extends Object?>({required TResult blake3256(DigestType_Blake3_256 value), required TResult sha3256(DigestType_SHA3_256 value), required TResult sha2256(DigestType_SHA2_256 value), required TResult blake3512(DigestType_Blake3_512 value), required TResult sha3512(DigestType_SHA3_512 value), required TResult blake2B512(DigestType_Blake2B512 value), required TResult sha2512(DigestType_SHA2_512 value), required TResult blake2B256(DigestType_Blake2B256 value), required TResult blake2S256(DigestType_Blake2S256 value)}) → TResult
inherited
mapOrNull<TResult extends Object?>({TResult? blake3256(DigestType_Blake3_256 value)?, TResult? sha3256(DigestType_SHA3_256 value)?, TResult? sha2256(DigestType_SHA2_256 value)?, TResult? blake3512(DigestType_Blake3_512 value)?, TResult? sha3512(DigestType_SHA3_512 value)?, TResult? blake2B512(DigestType_Blake2B512 value)?, TResult? sha2512(DigestType_SHA2_512 value)?, TResult? blake2B256(DigestType_Blake2B256 value)?, TResult? blake2S256(DigestType_Blake2S256 value)?}) → TResult?
inherited
maybeMap<TResult extends Object?>({TResult blake3256(DigestType_Blake3_256 value)?, TResult sha3256(DigestType_SHA3_256 value)?, TResult sha2256(DigestType_SHA2_256 value)?, TResult blake3512(DigestType_Blake3_512 value)?, TResult sha3512(DigestType_SHA3_512 value)?, TResult blake2B512(DigestType_Blake2B512 value)?, TResult sha2512(DigestType_SHA2_512 value)?, TResult blake2B256(DigestType_Blake2B256 value)?, TResult blake2S256(DigestType_Blake2S256 value)?, required TResult orElse()}) → TResult
inherited
maybeWhen<TResult extends Object?>({TResult blake3256()?, TResult sha3256()?, TResult sha2256()?, TResult blake3512()?, TResult sha3512()?, TResult blake2B512()?, TResult sha2512()?, TResult blake2B256(Uint8List field0)?, TResult blake2S256(Uint8List field0)?, required TResult orElse()}) → TResult
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
when<TResult extends Object?>({required TResult blake3256(), required TResult sha3256(), required TResult sha2256(), required TResult blake3512(), required TResult sha3512(), required TResult blake2B512(), required TResult sha2512(), required TResult blake2B256(Uint8List field0), required TResult blake2S256(Uint8List field0)}) → TResult
inherited
whenOrNull<TResult extends Object?>({TResult? blake3256()?, TResult? sha3256()?, TResult? sha2256()?, TResult? blake3512()?, TResult? sha3512()?, TResult? blake2B512()?, TResult? sha2512()?, TResult? blake2B256(Uint8List field0)?, TResult? blake2S256(Uint8List field0)?}) → TResult?
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited