ErrorData constructor
const
ErrorData({
- @Default(-1) int code,
- String? message,
- @Default(<ErrorDetails>[]) List<
ErrorDetails> errors,
Default constructor
Implementation
const factory ErrorData({
/// The error code
@Default(-1) int code,
/// The error message
String? message,
/// A list of details about this error
@Default(<ErrorDetails>[]) List<ErrorDetails> errors,
}) = _ErrorData;