isLessThan4H method

  1. @override
bool isLessThan4H()
override

Implementation

@override
bool isLessThan4H() {
  return (DateTime.now().difference(createdAt ?? DateTime.now()).inHours <=
      4);
}