Map<String, dynamic> toMap() { return <String, dynamic>{ 'allowedExitCodes': ?allowedExitCodes, 'interpreter': ?interpreter, 'script': script, }; }