toString method

  1. @override
String toString(
  1. [String? patternText,
  2. Culture? culture]
)
override

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);