deleteSuccessResponse method

FeedbackResponse<void> deleteSuccessResponse({
  1. 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,
    );