isPresent property

bool get isPresent

checks isPresent

Implementation

bool get isPresent => this != null && this!.isAfter(DateTime.now());