mirror of
https://gitlab.com/comunic/comunicmobile
synced 2024-12-02 01:36:27 +00:00
22 lines
560 B
Dart
22 lines
560 B
Dart
|
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);
|
||
|
}
|