shouldShowMessageTime static method
Implementation
static bool shouldShowMessageTime(int? current, int? previous) {
if (current == null || current <= 0) {
return false;
}
if (previous == null || previous <= 0) {
return true;
}
return (current - previous).abs() > 3 * 60 * 1000;
}