1
0
mirror of https://gitlab.com/comunic/comunicmobile synced 2025-06-19 00:05:16 +00:00

Display the list of members of a group

This commit is contained in:
2020-05-02 11:18:03 +02:00
parent bff73dbb21
commit e2bf5e73dd
4 changed files with 99 additions and 0 deletions

View File

@ -0,0 +1,23 @@
import 'package:comunic/models/group.dart';
import 'package:flutter/material.dart';
/// Group membership information
///
/// @author Pierre Hubert
class GroupMembership {
final int userID;
final int groupID;
final int timeCreate;
final GroupMembershipLevel level;
const GroupMembership({
@required this.userID,
@required this.groupID,
@required this.timeCreate,
@required this.level,
}) : assert(userID != null),
assert(groupID != null),
assert(timeCreate != null),
assert(level != null);
}