whenOrNull<TResult extends Object?> method

  1. @optionalTypeArgs
TResult? whenOrNull<TResult extends Object?>({
  1. TResult? unExpected(
    1. String e
    )?,
  2. TResult? invalidLength(
    1. String e
    )?,
  3. TResult? badChecksum(
    1. String e
    )?,
  4. TResult? invalidBase58Char()?,
  5. TResult? invalidAddress()?,
})
inherited

Implementation

@optionalTypeArgs
TResult? whenOrNull<TResult extends Object?>({
  TResult? Function(String e)? unExpected,
  TResult? Function(String e)? invalidLength,
  TResult? Function(String e)? badChecksum,
  TResult? Function()? invalidBase58Char,
  TResult? Function()? invalidAddress,
}) =>
    throw _privateConstructorUsedError;