when<TResult extends Object?> method

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

Implementation

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