valueDateTime property

DateTime? get valueDateTime

Returns the value of the observation if it's a date-time.

Implementation

DateTime? get valueDateTime => _json.getValue('valueDateTime').dateTimeValue;