toYearFormateString property

String get toYearFormateString

Implementation

String get toYearFormateString {
  String fm = "## year'# ago";
  if (this != null) {
    if (this?.year != null) {
      fm = this?.year ?? fm;
    }
  }
  return fm;
}