ErrorResponse constructor

const ErrorResponse({
  1. required int code,
  2. required String message,
  3. required Map<String, String> attachments,
})

Implementation

const factory ErrorResponse({required int code, required String message, required Map<String, String> attachments}) =
    _ErrorResponse;