date property

String? get date

Implementation

String? get date {
  return this == null ? null : DateFormat('yyyy-MM-dd').format(this!);
}