convertValue method

  1. @override
DateTime? convertValue(
  1. XmlElement node
)

Implementation

@override
DateTime? convertValue(XmlElement node) {
  final str = node.innerText.trim();
  return str.isNotEmpty ? HttpDate.parse(str) : null;
}