maybeWhen<TResult extends Object?> method

  1. @optionalTypeArgs
TResult maybeWhen<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()?,
  6. required TResult orElse(),
})
inherited

Implementation

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