toYear property

String get toYear

Implementation

String get toYear => (this == null) ? "" : DateFormat.y().format(this!);