toString method
Returns a string representation of this interval.
A string representation of this interval, as [start, end]
,
where 'start' and "end" are the dates formatted using an ISO-8601 compatible pattern.
Implementation
@override String toString() {
String a = LocalDatePattern.iso.format(start);
String b = LocalDatePattern.iso.format(end);
return '[$a, $b]';
}