updateFailedResponse<E> method
Creates a failed update FeedbackResponse.
Define isPlural to show the proper type of message.
Implementation
FeedbackResponse<E> updateFailedResponse<E>({
required bool isPlural,
}) =>
FeedbackResponse.error(
title: _feedbackConfig.updateFailedTitle,
message: isPlural
? _feedbackConfig.updateFailedPluralMessage
: _feedbackConfig.updateFailedSingularMessage,
);