1
0
mirror of https://gitlab.com/comunic/comunicmobile synced 2024-12-02 01:36:27 +00:00
comunicmobile/lib/models/new_group_conversation.dart

22 lines
560 B
Dart
Raw Normal View History

2021-04-06 15:04:55 +00:00
import 'package:comunic/models/group.dart';
import 'package:flutter/foundation.dart';
/// This class contains information about a conversation linked to a group
/// to create
///
/// @author Pierre Hubert
class NewGroupConversation {
final int groupID;
final String name;
final GroupMembershipLevel minMembershipLevel;
const NewGroupConversation({
@required this.groupID,
@required this.name,
@required this.minMembershipLevel,
}) : assert(groupID != null),
assert(name != null),
assert(minMembershipLevel != null);
}