invitees property

List<Member> get invitees

Implementation

List<Member> get invitees {
  if (data['invitees'] == null) return [];
  final dics = data['invitees'] as List;
  final members = dics.map((e) => Member.fromJson(e)).toList();
  members.forEach((e) => e.state = MemberState.invited);
  return members;
}