CachedAliceHttpRequest constructor

CachedAliceHttpRequest({
  1. int objectId = 0,
  2. int size = 0,
  3. DateTime? time,
  4. Map<String, String> headers = const <String, String>{},
  5. dynamic body = '',
  6. String? contentType = '',
  7. List<Cookie> cookies = const [],
  8. Map<String, dynamic> queryParameters = const <String, dynamic>{},
  9. List<AliceFormDataFile>? formDataFiles,
  10. 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();