isFuture function

bool isFuture(
  1. DateTime? time
)

Implementation

bool isFuture(DateTime? time) => time?.isAfter(DateTime.now()) == true;