CachedAliceHttpRequest constructor
CachedAliceHttpRequest({
- int objectId = 0,
- int size = 0,
- DateTime? time,
- Map<
String, String> headers = const <String, String>{}, - dynamic body = '',
- String? contentType = '',
- List<
Cookie> cookies = const [], - Map<
String, dynamic> queryParameters = const <String, dynamic>{}, - List<
AliceFormDataFile> ? formDataFiles, - List<
AliceFormDataField> ? formDataFields,
Implementation
CachedAliceHttpRequest({
this.objectId = 0,
this.size = 0,
DateTime? time,
this.headers = const <String, String>{},
this.body = '',
this.contentType = '',
this.cookies = const [],
this.queryParameters = const <String, dynamic>{},
this.formDataFiles,
this.formDataFields,
}) : time = time ?? DateTime.now();