Map<String, dynamic> toJson() => { 'roomType': this.roomType.index, 'liveType': this.liveType.index, 'roleType': this.roleType.index, };