toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
if (this.id != null) {
json[r'id'] = this.id;
} else {
json[r'id'] = null;
}
if (this.name != null) {
json[r'name'] = this.name;
} else {
json[r'name'] = null;
}
if (this.sessionId != null) {
json[r'session_id'] = this.sessionId;
} else {
json[r'session_id'] = null;
}
if (this.storageSessionId != null) {
json[r'storage_session_id'] = this.storageSessionId;
} else {
json[r'storage_session_id'] = null;
}
return json;
}