mirror of
https://gitlab.com/comunic/comunicmobile
synced 2024-11-22 12:59:21 +00:00
23 lines
474 B
Dart
23 lines
474 B
Dart
import 'package:flutter/cupertino.dart';
|
|
|
|
/// New conversation information
|
|
///
|
|
/// @author Pierre Hubert
|
|
|
|
class NewConversation {
|
|
final String name;
|
|
final List<int?> members;
|
|
final bool follow;
|
|
final bool canEveryoneAddMembers;
|
|
final Color? color;
|
|
|
|
const NewConversation({
|
|
required this.name,
|
|
required this.members,
|
|
required this.follow,
|
|
required this.canEveryoneAddMembers,
|
|
required this.color,
|
|
}) :
|
|
assert(members.length > 0);
|
|
}
|