Error constructor

const Error({
  1. required ApiErrorCode code,
  2. required String message,
  3. List<ValidationErrorItem>? errors,
})

Implementation

const Error({required this.code, required this.message, this.errors});