deleteSuccessResponse method
FeedbackResponse<void>
deleteSuccessResponse({
- required dynamic isPlural,
Creates a successful update FeedbackResponse
.
Define isPlural
to show the proper type of message.
Implementation
FeedbackResponse<void> deleteSuccessResponse({
required isPlural,
}) =>
FeedbackResponse.success(
title: _feedbackConfig.deleteSuccessTitle,
message: isPlural
? _feedbackConfig.deleteSuccessPluralMessage
: _feedbackConfig.deleteSuccessSingularMessage,
);