isNullOrToday property

bool get isNullOrToday

Implementation

bool get isNullOrToday {
  final now = DateTime.now();
  return value == null ||
      (value!.year == now.year &&
          value!.month == now.month &&
          value!.day == now.day);
}