1
0
mirror of https://gitlab.com/comunic/comunicmobile synced 2025-07-01 22:23:29 +00:00
Files
comunicmobile/lib/models/forez_presence.dart
2022-03-11 17:16:46 +01:00

23 lines
403 B
Dart

/// Single presence information
///
/// @author Pierre Hubert
class Presence {
final int userID;
final int year;
final int month;
final int day;
const Presence({
required this.userID,
required this.year,
required this.month,
required this.day,
});
Presence.fromDateTime(DateTime dt, this.userID)
: year = dt.year,
month = dt.month,
day = dt.day;
}