when<TResult extends Object?> method

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

Implementation

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