decodeDate method Null safety

DateTime? decodeDate()

Decodes the message 'date' header to local time.

Implementation

DateTime? decodeDate() {
  _decodedDate ??= decodeHeaderDateValue('date');
  return _decodedDate;
}