FeedbackResponse<T extends Object?>.error constructor
FeedbackResponse<T extends Object?>.error ({
- String? title,
- String? message,
- T? result,
- FeedbackLevel feedbackLevel = FeedbackLevel.error,
- FeedbackType feedbackType = FeedbackType.notification,
Used to create an error response with a dialog type of feedback.
Implementation
factory FeedbackResponse.error({
String? title,
String? message,
T? result,
FeedbackLevel feedbackLevel = FeedbackLevel.error,
FeedbackType feedbackType = FeedbackType.notification,
}) =>
FeedbackResponse(
feedbackLevel: feedbackLevel,
title: title,
message: message,
feedbackType: feedbackType,
result: result,
);