whenOrNull<TResult extends Object?> method

  1. @optionalTypeArgs
TResult? whenOrNull<TResult extends Object?>({
  1. TResult? ok()?,
  2. TResult? errorStatus(
    1. LnUrlErrorData data
    )?,
})
inherited

Implementation

@optionalTypeArgs
TResult? whenOrNull<TResult extends Object?>({
  TResult? Function()? ok,
  TResult? Function(LnUrlErrorData data)? errorStatus,
}) =>
    throw _privateConstructorUsedError;