hoursAgo method

  1. @override
String hoursAgo(
  1. int hours
)
override

When time is in hours

Implementation

@override
String hoursAgo(int hours) {
  if (hours == 2) {
    return 'ساعتين';
  }
  return '${convertToUrduNumbers(hours)} ساعات';
}