timeOnly property
Time?
get
timeOnly
Returns Time if string is a time string like "12:00:00"
Implementation
Time? get timeOnly =>
this == null ? null : DateTime.tryParse(this!)?.timeOnly;
Returns Time if string is a time string like "12:00:00"
Time? get timeOnly =>
this == null ? null : DateTime.tryParse(this!)?.timeOnly;