whenOrNull<TResult extends Object?> method

  1. @optionalTypeArgs
TResult? whenOrNull<TResult extends Object?>({
  1. TResult? endpointSuccess(
    1. LnUrlPaySuccessData data
    )?,
  2. TResult? endpointError(
    1. LnUrlErrorData data
    )?,
  3. TResult? payError(
    1. LnUrlPayErrorData data
    )?,
})
inherited

Implementation

@optionalTypeArgs
TResult? whenOrNull<TResult extends Object?>({
  TResult? Function(LnUrlPaySuccessData data)? endpointSuccess,
  TResult? Function(LnUrlErrorData data)? endpointError,
  TResult? Function(LnUrlPayErrorData data)? payError,
}) =>
    throw _privateConstructorUsedError;