toString method
Returns a String that represents this instance.
The value of the current instance in the default format pattern ('G'), using the current isolate's culture to obtain a format provider.
Implementation
@override String toString([String? patternText, Culture? culture]) =>
LocalDateTimePatterns.format(this, patternText, culture);