toMap method

Map<String, dynamic> toMap()

Serializes this response entry into a Map for disk storage.

Implementation

Map<String, dynamic> toMap() => {
  'bytes': bytes,
  'statusCode': statusCode,
  'headers': headers,
  'createdAt': createdAt.millisecondsSinceEpoch,
};