toString method

  1. @override
String toString()
override

Default string representation: Jalali(YYYY,MM,DD). use formatter for custom formatting.

non-null

Implementation

@override
String toString() {
  return 'Jalali($year, $month, $day, $hour, $minute, $second)';
}