when<TResult extends Object?> method

  1. @optionalTypeArgs
TResult when<TResult extends Object?>({
  1. required TResult ok(
    1. LnUrlWithdrawSuccessData data
    ),
  2. required TResult timeout(
    1. LnUrlWithdrawSuccessData data
    ),
  3. required TResult errorStatus(
    1. LnUrlErrorData data
    ),
})
inherited

Implementation

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