toJson method

Map<String, dynamic> toJson()

Serializes this entry for export (e.g. copy-as-JSON in the detail view).

Implementation

Map<String, dynamic> toJson() => {
  'uri': uri,
  'queryParams': queryParams,
  'pathFragment': pathFragment,
  'receivedAt': receivedAt.toIso8601String(),
  if (source != null) 'source': source,
};