toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
json[r'token'] = this.token;
json[r'ws_url'] = this.wsUrl;
if (this.room != null) {
json[r'room'] = this.room;
} else {
json[r'room'] = null;
}
json[r'expires_at'] = this.expiresAt.toUtc().toIso8601String();
json[r'expires_in'] = this.expiresIn;
return json;
}