ParticipantInfo constructor Null safety
Implementation
factory ParticipantInfo({
// ignore: invalid_annotation_target
@JsonKey(fromJson: dateTimeFromJson, toJson: dateTimeToJson) DateTime? joinedAt,
required bool isLocal,
required bool isOwner,
ParticipantId? userId,
// ignore: invalid_annotation_target
@JsonKey(name: 'userName') String? username,
}) = _ParticipantInfo;