toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
json[r'args'] = this.args;
json[r'code'] = this.code;
json[r'files'] = this.files;
json[r'lang'] = this.lang;
if (this.runtimeSessionHint != null) {
json[r'runtime_session_hint'] = this.runtimeSessionHint;
} else {
json[r'runtime_session_hint'] = null;
}
if (this.sessionId != null) {
json[r'session_id'] = this.sessionId;
} else {
json[r'session_id'] = null;
}
if (this.userId != null) {
json[r'user_id'] = this.userId;
} else {
json[r'user_id'] = null;
}
return json;
}