hasCreatedLaterThan method Null safety

bool hasCreatedLaterThan(
  1. int time
)

Implementation

bool hasCreatedLaterThan(int time) {
  return createdAt > time;
}