whenOrNull<TResult extends Object?> method

  1. @optionalTypeArgs
TResult? whenOrNull<TResult extends Object?>({
  1. TResult? ln(
    1. LnPaymentDetails data
    )?,
  2. TResult? closedChannel(
    1. ClosedChannelPaymentDetails data
    )?,
})
inherited

Implementation

@optionalTypeArgs
TResult? whenOrNull<TResult extends Object?>({
  TResult? Function(LnPaymentDetails data)? ln,
  TResult? Function(ClosedChannelPaymentDetails data)? closedChannel,
}) =>
    throw _privateConstructorUsedError;