maybeMap<TResult extends Object?> method

  1. @optionalTypeArgs
TResult maybeMap<TResult extends Object?>({
  1. TResult blake3256(
    1. DigestType_Blake3_256 value
    )?,
  2. TResult sha3256(
    1. DigestType_SHA3_256 value
    )?,
  3. TResult sha2256(
    1. DigestType_SHA2_256 value
    )?,
  4. TResult blake3512(
    1. DigestType_Blake3_512 value
    )?,
  5. TResult sha3512(
    1. DigestType_SHA3_512 value
    )?,
  6. TResult blake2B512(
    1. DigestType_Blake2B512 value
    )?,
  7. TResult sha2512(
    1. DigestType_SHA2_512 value
    )?,
  8. TResult blake2B256(
    1. DigestType_Blake2B256 value
    )?,
  9. TResult blake2S256(
    1. DigestType_Blake2S256 value
    )?,
  10. required TResult orElse(),
})
inherited

Implementation

@optionalTypeArgs
TResult maybeMap<TResult extends Object?>({
  TResult Function(DigestType_Blake3_256 value)? blake3256,
  TResult Function(DigestType_SHA3_256 value)? sha3256,
  TResult Function(DigestType_SHA2_256 value)? sha2256,
  TResult Function(DigestType_Blake3_512 value)? blake3512,
  TResult Function(DigestType_SHA3_512 value)? sha3512,
  TResult Function(DigestType_Blake2B512 value)? blake2B512,
  TResult Function(DigestType_SHA2_512 value)? sha2512,
  TResult Function(DigestType_Blake2B256 value)? blake2B256,
  TResult Function(DigestType_Blake2S256 value)? blake2S256,
  required TResult orElse(),
}) =>
    throw _privateConstructorUsedError;