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, - required ApiRequest<
BodyType, InnerType> request,
Implementation
ApiResponse(
{this.bodyString,
this.pagination,
this.statusCode = 500,
this.headers,
this.body,
this.error,
this.extra,
required this.request});