mirror of
https://gitlab.com/comunic/comunicmobile
synced 2024-11-26 14:59:22 +00:00
19 lines
354 B
Dart
19 lines
354 B
Dart
import 'package:flutter/material.dart';
|
|
|
|
/// Single call member information
|
|
///
|
|
/// @author Pierre Hubert
|
|
|
|
enum MemberStatus { JOINED, READY }
|
|
|
|
class CallMember {
|
|
final int id;
|
|
final MemberStatus status;
|
|
|
|
const CallMember({
|
|
@required this.id,
|
|
this.status = MemberStatus.JOINED,
|
|
}) : assert(id != null),
|
|
assert(status != null);
|
|
}
|