toJson method

Map<String, dynamic> toJson()

Implementation

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