toJson method
Implementation
Map<String, dynamic> toJson() {
final name = this.name;
final pythonVersion = this.pythonVersion;
final scriptLocation = this.scriptLocation;
return {
if (name != null) 'Name': name,
if (pythonVersion != null) 'PythonVersion': pythonVersion,
if (scriptLocation != null) 'ScriptLocation': scriptLocation,
};
}