deleteFailedResponse<E> method
FeedbackResponse<E>
deleteFailedResponse<E>({
- required dynamic isPlural,
Creates a failed delete FeedbackResponse
.
Define isPlural
to show the proper type of message.
Implementation
FeedbackResponse<E> deleteFailedResponse<E>({
required isPlural,
}) =>
FeedbackResponse.error(
title: _feedbackConfig.deleteFailedTitle,
message: isPlural
? _feedbackConfig.deleteFailedPluralMessage
: _feedbackConfig.deleteFailedSingularMessage,
);