WarcHeader class

Constructors

WarcHeader({String version = '1.1', required String type, required DateTime date, required String recordId, int? contentLength, String? contentType, String? warcinfoId, String? concurrentTo, String? ipAddress, Uri? targetUri, String? refersTo, String? refersToTargetUri, DateTime? refersToDate, String? payloadDigest, String? blockDigest, String? payloadType, String? filename, String? truncated, Map<String, String>? values})
WarcHeader.fromValues({String version = '1.1', required Map<String, String> values})

Properties

contentLength int
no setter
date DateTime
no setter
hasContentLength bool
latefinal
hasContentType bool
latefinal
hashCode int
The hash code for this object.
no setterinherited
keys Iterable<String>
no setter
recordId String
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
targetUri Uri?
no setter
type String
no setter
version String
final

Methods

change({int? contentLength, String? contentType}) WarcHeader
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited
operator [](String key) String?