mirror of
https://gitlab.com/comunic/comunicmobile
synced 2024-11-25 06:19:22 +00:00
25 lines
589 B
Dart
25 lines
589 B
Dart
import 'package:flutter/widgets.dart';
|
|
|
|
/// Conversation settings update
|
|
///
|
|
/// @author Pierre Hubert
|
|
|
|
class NewConversationsSettings {
|
|
final int convID;
|
|
final bool following;
|
|
final bool isComplete;
|
|
final String name;
|
|
final bool? canEveryoneAddMembers;
|
|
final Color? color;
|
|
|
|
const NewConversationsSettings({
|
|
required this.convID,
|
|
required this.following,
|
|
required this.isComplete,
|
|
required this.name,
|
|
required this.canEveryoneAddMembers,
|
|
required this.color,
|
|
}) : assert(convID > 0),
|
|
assert(!isComplete || canEveryoneAddMembers != null);
|
|
}
|