ApiResponse<BodyType, InnerType> constructor
ApiResponse<BodyType, InnerType> ({
- dynamic bodyString,
- Pagination? pagination,
- int statusCode = 500,
- Map<
String, dynamic> ? headers, - BodyType? body,
- Object? error,
- Map<
String, dynamic> ? extra, - Object? cause,
- StackTrace? stackTrace,
- required ApiRequest<
BodyType, InnerType> request,
Implementation
ApiResponse({
this.bodyString,
this.pagination,
this.statusCode = 500,
this.headers,
this.body,
this.error,
this.extra,
this.cause,
this.stackTrace,
required this.request,
});