1
0
mirror of https://gitlab.com/comunic/comunicmobile synced 2024-11-22 04:49:21 +00:00
comunicmobile/lib/models/forez_presence.dart

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;
}