ErrorResponseModel constructor

const ErrorResponseModel({
  1. required String code,
  2. required String message,
  3. required String traceId,
  4. List<ErrorDetail> details = const <ErrorDetail>[],
})

Implementation

const ErrorResponseModel({required this.code, required this.message, required this.traceId, this.details = const <ErrorDetail>[]});