toJson method Null safety
Implementation
Map<String, dynamic> toJson() {
final Map<String, dynamic> data = new Map<String, dynamic>();
data['sdkAppId'] = this.sdkAppId;
data['userId'] = this.userId;
data['userSig'] = this.userSig;
data['roomId'] = this.roomId;
data['strRoomId'] = this.strRoomId;
data['role'] = this.role;
data['streamId'] = this.streamId;
data['userDefineRecordId'] = this.userDefineRecordId;
data['privateMapKey'] = this.privateMapKey;
data['businessInfo'] = this.businessInfo;
return data;
}