initial commit (migrated)

This commit is contained in:
fiatcode 2025-10-20 16:43:59 +07:00
commit b594facb51
143 changed files with 11057 additions and 0 deletions

13
lib/core/time.dart Normal file
View file

@ -0,0 +1,13 @@
/// Humble class for time related operations.
abstract class Time {
/// Get unix timestamp in seconds.
int getUnixTimestamp();
}
/// Implementation of [Time] using [DateTime].
class TimeImpl implements Time {
@override
int getUnixTimestamp() {
return DateTime.now().millisecondsSinceEpoch ~/ 1000;
}
}