maybeWhen<TResult extends Object?> method

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

Implementation

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