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