maybeWhen<TResult extends Object?> method

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

Implementation

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