toDate method

String toDate()

Implementation

String toDate() => this > 0
    ? DateFormat('dd MMM yyyy')
        .format(DateTime.fromMillisecondsSinceEpoch(this).toLocal())
    : toString();