ServiceErrorResponse<T> constructor

const ServiceErrorResponse<T>({
  1. required int statusCode,
  2. required String? error,
})

Implementation

const ServiceErrorResponse({required super.statusCode, required this.error})
    : super(type: ServiceResponseType.error);