ResponseModel<T> constructor
ResponseModel<T> ({
- String? type,
- T? data,
- Response? response,
- int? statusCode,
- String? statusMessage,
- Headers? headers,
- required RequestOptions requestOptions,
- List<
RedirectRecord> redirects = const [], - Map<
String, dynamic> ? extra, - BaseOptions? baseOptions,
- dynamic error,
Implementation
ResponseModel({
this.type,
super.data,
this.response,
super.statusCode,
super.statusMessage,
super.headers,
required super.requestOptions,
super.redirects,
super.extra,
this.baseOptions,
this.error,
});