core.Map<core.String, core.dynamic> toJson() => { if (numRetries != null) 'numRetries': numRetries!, if (retryConditions != null) 'retryConditions': retryConditions!, };