2020-04-20 14:02:32 +02:00
|
|
|
import 'package:flutter/material.dart';
|
|
|
|
|
|
|
|
/// Single call member information
|
|
|
|
///
|
|
|
|
/// @author Pierre Hubert
|
|
|
|
|
|
|
|
enum MemberStatus { JOINED, READY }
|
|
|
|
|
|
|
|
class CallMember {
|
2020-04-20 15:02:49 +02:00
|
|
|
final int userID;
|
2020-04-20 14:58:23 +02:00
|
|
|
MemberStatus status;
|
2020-04-20 14:02:32 +02:00
|
|
|
|
2020-04-20 14:58:23 +02:00
|
|
|
CallMember({
|
2020-04-20 15:02:49 +02:00
|
|
|
@required this.userID,
|
2020-04-20 14:24:35 +02:00
|
|
|
this.status = MemberStatus.JOINED,
|
2020-04-20 15:02:49 +02:00
|
|
|
}) : assert(userID != null),
|
2020-04-20 14:02:32 +02:00
|
|
|
assert(status != null);
|
|
|
|
}
|