TimeAgo constructor

TimeAgo({
  1. required int value,
  2. required TimeAgoType type,
})

Constructs a TimeAgo object with the given value and type.

Implementation

TimeAgo({required this.value, required this.type});