convert method

  1. @override
double? convert(
  1. XmlElement input
)
override

Converts input and returns the result of the conversion.

Implementation

@override
double? convert(XmlElement input) {
  try {
    return const TimeTypeCodec().decode(input.innerText.trim());
  } catch (_) {
    return null;
  }
}