utils/utils library
Classes
- ColorPair
- Used internally.
Properties
Functions
-
computeNumbersList(
int hashCode) → List< int> - convert a number digits to list of individual digits
-
computeTimePartitionText(
int millisecondsSinceEpoch) → String - Compute Time partition of messages based on created at time stamp
-
createColorFromHashCode(
int hashCode) → ColorPair - Color equivalence of integer
-
getDurationTillNow(
DateTime pastTime) → Duration - Duration uptil now time format
-
getMonthName(
int month) → dynamic - Get month by int
-
getSentAt(
int millisecondsSinceEpoch) → String - Last seen at time format
-
getWeekDayName(
int weekday) → dynamic - Get day by int
-
groupNumbersIntoRGB(
List< int> numbers) → List<int> - Convert a list of numbers to RGB group of 3 set of numbers in a list
-
isSameDay(
int? previousMessageTime, int currentMessageTime) → bool - Check if it's same day
-
logError(
String message) → void - Error message printer