encode method
Implementation
Map<String, Object?> encode() => {
'execute_operation_on_script_failure': ?executeOperationOnScriptFailure
?.toTfJson(),
'execution_handler': executionHandler.toTfJson(),
'execution_handler_service': ?executionHandlerService?.toTfJson(),
'execution_timeout': ?executionTimeout?.toTfJson(),
'maximum_retry_count': ?maximumRetryCount?.toTfJson(),
if (stages != null) 'stages': [for (final e in stages!) e.toTfJson()],
};