maybeMap<TResult extends Object?> method
TResult
maybeMap<TResult extends Object?>({
- TResult endpointSuccess()?,
- TResult endpointError()?,
- TResult payError(
- LnUrlPayResult_PayError value
- required TResult orElse(),
inherited
Implementation
@optionalTypeArgs
TResult maybeMap<TResult extends Object?>({
TResult Function(LnUrlPayResult_EndpointSuccess value)? endpointSuccess,
TResult Function(LnUrlPayResult_EndpointError value)? endpointError,
TResult Function(LnUrlPayResult_PayError value)? payError,
required TResult orElse(),
}) =>
throw _privateConstructorUsedError;