toTimeAgoString method

String? toTimeAgoString()

Implementation

String? toTimeAgoString() {
  if (this == null) {
    'DateTime is null'.dump();
    return null;
  }
  return GetTimeAgo.parse(this!, locale: Nylo.instance.locale);
}