1
0
mirror of https://gitlab.com/comunic/comunicmobile synced 2024-11-24 22:09:21 +00:00
comunicmobile/lib/models/new_conversation.dart

23 lines
474 B
Dart
Raw Normal View History

2021-03-10 16:54:41 +00:00
import 'package:flutter/cupertino.dart';
/// New conversation information
///
/// @author Pierre Hubert
class NewConversation {
final String name;
final List<int?> members;
2021-03-10 16:54:41 +00:00
final bool follow;
final bool canEveryoneAddMembers;
final Color? color;
2021-03-10 16:54:41 +00:00
const NewConversation({
required this.name,
required this.members,
required this.follow,
required this.canEveryoneAddMembers,
required this.color,
2022-03-10 19:36:55 +00:00
}) :
assert(members.length > 0);
2021-03-10 16:54:41 +00:00
}