toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
    json[r'files'] = this.files;
  if (this.sessionId != null) {
    json[r'session_id'] = this.sessionId;
  } else {
    json[r'session_id'] = null;
  }
  if (this.stderr != null) {
    json[r'stderr'] = this.stderr;
  } else {
    json[r'stderr'] = null;
  }
  if (this.stdout != null) {
    json[r'stdout'] = this.stdout;
  } else {
    json[r'stdout'] = null;
  }
  return json;
}